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

reflow doesnt work if plugin ran on table with tbody which is later added #186

Closed
mkoryak opened this issue Apr 9, 2015 · 3 comments
Closed
Labels

Comments

@mkoryak
Copy link
Owner

mkoryak commented Apr 9, 2015

tbody jumps when you start scrolling if it's not created before the first floatThead and scrolls smoothly if declared before?
( scrolling behavior http://jsfiddle.net/9eo8gjag/7/ vs http://jsfiddle.net/9eo8gjag/6/ )

@mkoryak mkoryak added the bug label Apr 9, 2015
@mkoryak
Copy link
Owner Author

mkoryak commented Apr 9, 2015

an idea for a fix is to add a lazy flag to the floatThead data i attach to the element and not init if there is no thead or tbody, on reflow check the lazy flag and init if lazy is true

@mkoryak
Copy link
Owner Author

mkoryak commented Apr 9, 2015

also, this is related:
http://jsfiddle.net/9eo8gjag/9/

see fiddle for bug

@lock
Copy link

lock bot commented Dec 10, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant