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

fix: 🐛 Always listen to window resize event #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SaiFi0102
Copy link
Contributor

Problem:
DataTable does not listen to Window Resize events when the layout is fixed. This causes horizontal scrolling problems with the bodyScrollable when the window is resized and the responsive UI makes the DataTable wrapper narrower.

Another problem was that the element created by measureTextWidth was taking up some height at the bottom of the page. I added top: -9999px to keep it out of the viewport. However, should this element be removed after inferring it's width?

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

Successfully merging this pull request may close these issues.

1 participant