-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix scroll up not propagating to parent #3531
Conversation
…ll length are negative (Mean no scroll)
@swalters: any chance you'd take a quick look at this one too? It looks sort of OK in concept, but I know there are gremlins hiding in scrolling code. |
Hi, I think of another possibility, "rowContainer.getVerticalScrollLength();" could be an absolute value (never negative!). It solve the bug too. If you think it's a better solution, you can just reject the PR and I will make an another PR with the absolute value thx |
@Jacquelin Your fix works well. @PaulL1 Are you going to merge this fix? |
@rupampatel2006 : not without @swalters reviewing it. |
Hi, no news from @swalters ? |
I would really like this to get fixed, not being able to scroll up at all on my page with a full width grid. |
Sorry but my pull request does not fix the scroll issue ... I make several test :
This PR should be rejected, I'm currently working on a better fix ... sorry :-/ |
I think the main issue for me is that, even though I have set |
@tuhoojabotti : It's what I was trying to fix in first place (my fix work for this !), but still ... incomplete for a true bug fix. You can discuss about this at #3340 |
thanks to @500tech-user and @Jacquelin for PR's that led to this fix
Hello,
This pull request is to fix, what I consider a bug, the issue #3340
This 'bug' happen for a grid that displays less than its height (3 line, 3 * 30px, for a height of 300px for example). When this happening, the scroll up is not propagated to the parent.
I assumed that if the VerticalScrollLength AND the scrollTop + scrollYAmount is negative, then the scrollYPercentage is set to 0.
It's working for a grid with the vertical scroll avalaible, or not.