-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Bug: Responsive does not properly work with scrollY #128
Comments
After more investigation, it appears to be the cell's wrapping that causes this issue. Hiding a column that has a row cell with wrapping data will cause all other columns after it to be misaligned when unhidden. |
I'm not seeing the error I'm afraid. Maybe I've just being blind... Without the Office column: Resized to now include the office column: Moreover the example with Responsive and scrolling on DataTables.net appears to work okay: https://datatables.net/extensions/responsive/examples/styling/scrolling.html . |
I forgot about the example on the website! |
No worries! Sync issue makes sense. Thanks for looking into it! |
Link: https://stackblitz.com/edit/vitejs-vite-kwlzyv?file=src%2Fmain.ts
To reproduce, reduce the horizontal width of the window while the page is open, enough to hid ethe office column. Then, widen the horizontal length of the window again. The row data will be misaligned with the columns.
I personally use BS5 and jQuery, but it is reproducible in the base version (which is the one I linked).
I believe this is due to either row cell data wrapping or column title wrapping.
The text was updated successfully, but these errors were encountered: