Skip to content

EuiBasicTable blocks any action while isLoading is true #5014

Closed

Description

@cauemarcondes

on APM we’re lazy loading part of the data that we show on a EuiBasicTable . The problem is that I cannot click on anything while isLoading = true.

lazy.loading.mov

Expected behavior:
The table would allow the user to click on any link in the table even when the loading spinner is running.

Activity

  1. cauemarcondes commented on Aug 10, 2021

    @cauemarcondes
    Author
  2. sorenlouv commented on Aug 10, 2021

    @sorenlouv
    Contributor
  3. thompsongl commented on Aug 11, 2021

    @thompsongl
    Contributor

    Per comments elsewhere, preventing interaction is the intended behavior:

    private addLoadingListeners = (tbody: HTMLTableSectionElement) => {

    Open to discussions about changing that decision

  4. github-actions commented on Feb 7, 2022

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  5. added
    stale-issue
    on Feb 7, 2022
  6. sorenlouv commented on Feb 9, 2022

    @sorenlouv
    Contributor

    @cauemarcondes Is this still an issue? If so, should we engage with EUI team to discuss it?

  7. removed
    stale-issue
    on Feb 10, 2022
  8. cauemarcondes commented on Feb 10, 2022

    @cauemarcondes
    Author

    @cauemarcondes Is this still an issue? If so, should we engage with EUI team to discuss it?

    Apparently, it's no longer an issue @sqren .

    Screen.Recording.2022-02-10.at.9.26.51.AM.mov
  9. sorenlouv commented on Feb 10, 2022

    @sorenlouv
    Contributor

    Apparently, it's no longer an issue @sqren

    That video doesn't show you clicking on on a link while the table is loading. So I'm not convinced this is fixed.

  10. cauemarcondes commented on Feb 10, 2022

    @cauemarcondes
    Author

    The problem happened while you tried to click on a service link while the sparklines are still loading, in the video, you can see that there's no sparkling yet for the services listed, so it's still being fetched, but I'm now able to click and navigate to a service details.

  11. sorenlouv commented on Feb 10, 2022

    @sorenlouv
    Contributor

    @cauemarcondes I can still reproduce the problem. As long as the table data is loading the content becomes unresponsive to clicks:

    unresponsive-table

  12. sorenlouv commented on Feb 10, 2022

    @sorenlouv
    Contributor

    Ah, I think I get what you are saying now: it's blocking while loading the primary content (the links) but will not block if it's just the sparklines that are missing?

    I agree, that's probably acceptable.

  13. formgeist commented on Feb 11, 2022

    @formgeist
    Contributor

    Agree, it is acceptable as long as the user can navigate without having to wait on the sparklines (or other metrics related data) to load 👍

  14. cauemarcondes commented on Feb 11, 2022

    @cauemarcondes
    Author

    Ah, I think I get what you are saying now: it's blocking while loading the primary content (the links) but will not block if it's just the sparklines that are missing?

    yes, that's it.

  15. cee-chen commented on Jan 24, 2023

    @cee-chen
    Contributor

    Re-opening this - we've investigated and have determined this behavior is an accessibility issue at worst and unnecessary UX at best. We will be removing this logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions