-
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
No horizontal scrollbar when autoHeight = true #356
Comments
Happy to take a look at this. @ghiscoding and @SatanEnglish, you have been doing a lot of work recently regarding viewport dimensions, do you want to take a look or shall I? |
The last change we did related to the |
that's a good clue. will try to have a look on Sunday |
Pushed a fix #360 since I had a bit more knowledge with autoHeight and frozen feature. You can see animated gif of the fix in PR #360 @DarranShepherd could you please confirm that the new code works for you. Thanks |
awesone, thanks @ghiscoding |
fix(autoHeight): horizontal scroll not showing when needed, fixes #356
Sorry for the delayed response, @ghiscoding , @6pac , I was away for the weekend. This PR fixes my issue perfectly. Thanks so much for such a quick resolution. |
Editing the columns array definition in example11-autoheight.html to the below, the grid can be scrolled horizontally using a trackpad/mouse, no horizontal scrollbar is displayed.
Is this expected behaviour? If not, could anyone give me a pointer to where I might be able to resolve it?
From my investigation, the scrollbar appears to be there on the viewport, but because the viewport's container,
.slick-pane-top.slick-pane-left
, height is set to the height of the viewport, it's below the bottom of the top left pane. I've experimented with adding the height of the scrollbar to the top pane, but at this stage,viewportHasHScroll
hasn't yet been calculated, and even when doing so, the canvas appears to have a little extra padding below the final row, so simply adding the height of the scrollbar is insufficient.The text was updated successfully, but these errors were encountered: