-
Notifications
You must be signed in to change notification settings - Fork 4
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
When clicking on header, table scrolls up #6
Comments
That is what the scroll up functionality tries to achive. In essence we try to replicate the click on the same position on the original header, since the cloned header doesn't have the click handlers. |
Ok, i understand, is there a way to get around this? and have the click functionality on the headers without scrolling up? |
We need to check don't remember if it is done manually the scroll, or automatically by the click replication, or if it is manually done but it is required for the click to work. |
I might have a solution to this, will test it and make a PR if it works. |
We also have some checkboxes, toggles etc. on the header but do not want the clicks to scroll back to the top of the table. Has anybody found a solution to prevent that or could there be an option to prevent it? Otherwise, the lib works great and was just the thing we were looking for :) |
Hi @jjylha @julianklumpers. I have released |
Works great and as expected! Thank you sir 👍 |
Released in 1.7.0 |
Hi,
Cool lib, exactly what i was looking for.
However, when you click on the table header the page scrolls to the top of the table, is there some way to prevent this? Because we have sorting functionality on the headers.
This behavior is also in the codesandbox demo
The text was updated successfully, but these errors were encountered: