-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Unexpected behavior on table horizontal scrolling #416
Comments
opened up a PR that solves this overflow issue #428 |
Hey! Implemented in my code, it works fine 👌 Thanks for your contribution ❤️ |
Hey folks, perhaps this could work for someone First watch of change of size of parent div using useLayoutEffect and ResizeObserver to observe changes to the div's size and save state in useState
Second I use elementWidth on the parent div of With this the size of table can change when screen change. |
Thanks @Cesar90! This was the only solution that worked for me |
Hi @shadcn! Many thanks for this repo, amazing work 👏
Just noticed a strange behavior on the table component. When the content of the table is larger than the screen, a white space the size of the overflow is created. I have tried several things to fix this but nothing that works properly so far.
Tasks.-.22.May.2023.mp4
The text was updated successfully, but these errors were encountered: