-
Notifications
You must be signed in to change notification settings - Fork 424
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
Header not scrolling correctly in next branch without jQuery #761
Comments
(note this issue was occurring before my recent |
good catch, I'll take a look and come up with a fix, it's probably related to the scroll event not propagating. As for the |
fixed in commit 98aeb9b, there was a header-row scroll missing. It should be ok for all other elements, but it would be nice to keep that in mind to make all other elements works too. I'm nearly all done with Controls & Plugins, there's only the Pager (pagination) plugin left to do. I do however want to also review all the code that Marko added as |
fixed again by commit 2405fe6 |
I'm also done migrating all Controls & Plugins, so at this point it's just code cleaning and making sure everything works as expected. I still want to replace all these |
Awesome. Yep, element creation sounds much better. I'd be looking at the jQuery source to see what they do there. FYI I went over slick.grid.js with a fine tooth comb for the While we're on a roll, #737 still appears to be a problem. Happy to look, but you just seem to be 'in the zone' right now, so I suspect what might take me several hours you may be able to do in 15 minutes. |
nb. some of the |
I think this one is cause by the bottom container not being entirely filled except when you start scrolling then it adds more slick rows, a potential fix would be trigger a scroll event at same position when frozen row is changed to bottom. Actually taking a quick look at it, I see that the problem is because the height is not recalculated properly after changing the frozen row dynamically. If you use this css style the problem is I don't know how that height is being calculated correctly when we initialize the grid but not after. A potential quick hack fix would be to copy the one from the top into the bottom and vice versa when you do the inverse but that has a potential issue when user also changes the number of frozen rows (not just top/bottom toggle).... so anyway, I have identified the issue but not a real fix 😝 I actually wonder if that height that I wrote about is actually these ones from the default options Lines 115 to 116 in 21fe941
|
Thanks, that helps a lot. Will see what I can do |
As per GIF, header row is not scrolling. In the current
master
it works, but not innext
. I've spent about half an hour looking, but can't find the issue. @ghiscoding or @MarkoBLThe text was updated successfully, but these errors were encountered: