-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
table: empty-state and loading-distractor should not be shown at the same time #1766
Comments
Hi @christian-fischer and thank you for the request. barista/libs/barista-components/table/src/table.html Lines 6 to 10 in 9963c82
Otherwise we would need to check in the setter of the loading state, if we need to show the empty state as well, which could be a little bit tricky in terms of handling the correct state. barista/libs/barista-components/table/src/table.ts Lines 99 to 105 in 9963c82
|
@tomheller yes, that looks simple and straightforward enough for me ;) |
I think in part this also relates to #287 |
Moved |
Feature Request
Summary
Both empty-state and loading-distractor are visible in the table at the same time.
This is confusing as usually the empty state does not apply while still loading.
Feature Description
If we defined an empty-state and a loading-distractor for our table, and the table is loading,
the empty state is visible underneath the loading-distractor.
see https://stackblitz.com/edit/github-dxktnh for a small example demonstrating the current behavior
Attachments
The text was updated successfully, but these errors were encountered: