Skip to content
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

DataTable: expanded rows always visible #1206

Closed
wilriker opened this issue Mar 24, 2022 · 2 comments
Closed

DataTable: expanded rows always visible #1206

wilriker opened this issue Mar 24, 2022 · 2 comments

Comments

@wilriker
Copy link

Together with the fix for #1199 one line was modified at 53fdbdf#diff-e1e14fa75f6c4b3da71cb7eff121f0ce58ba5f7d37999df963c5bb55c90c1002L486. This change - so I assume - leads to expanded rows being always visible and populated as soon as expandable is defined on the DataTable. At least all my DataTables with expandable are suddenly showing the expanded rows on load. If I click on the chevron the same content will be slightly shifted to the right (where it usually appears when expanding) and returns to initial position when clicking the chevron again to collapse. But the content is always visible.

Downgrading to 0.62.1 solves the issue for me - but leaves me without zebra stripes on expandable DataTables.

@metonym
Copy link
Collaborator

metonym commented Mar 24, 2022

Can you modify this Svelte REPL to provide a repro?

https://svelte.dev/repl/890a282ef52d4971bdd462d2018b9501?version=3.46.4

@wilriker
Copy link
Author

This was a fault on my end. There was some CSS that prevented setting the height to 0. Sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants