-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
scrollBody width switching from 100% to a calculated value on scroll #57
Comments
Hi - can you link to a test case showing the issue please? |
Sorry, the only code I have with this error is from our company code and I can't release that out. I don't know for sure that this is an issue with the Scroller plugin itself or some interaction with our table styles. But if I get a chance to recreate this, I'll link it here. |
That would be great - thanks. |
Going to close for the moment. If any one else comes across this issue - please link to a test case showing the issue. |
I got this issue when I set font-size of th tag too large. |
@sangnm-w Can you link to a page showing the issue please? Do you mean the table overflows horizontally, but scrollX isn't enabled, and therefore the header and body don't keep alignment? If so, yes, that is expected. If there is horizontal scrolling, you need scrollX enabled. |
https://servicedesk.cjvina.com/CJ-Run-Event/Management |
Thanks for the test case. I do see the issue. I'll try to look into this next week. |
I've experienced an issue with the scroller switching width of the table for me, especially when there is overflow, between 100% and a calculated value. This happens when I scroll the table. This creates a problem when scrolling as I see differences in how the table and scrollbars display.
Starting at line 487 in the scroller JS, I just added a forced style to make the width 100% of the container for the scroll and touchstart events. This fixed my issue; maybe this will help someone else.
The text was updated successfully, but these errors were encountered: