-
Notifications
You must be signed in to change notification settings - Fork 290
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
what is best way to prevent whole page scrolling when table is scrolling up? #419
Comments
I suspect this is caused by #407. Feel free to try out the proposed changes to fix the issue mentioned there and let me know how it goes. |
@datavisorfrankhe, I think this might be due to our @wcjordan , we'll put a quick PR for this? |
Hmm I actually think that would be expected behavior. If you scroll to the top of the grid and continue to scroll up, it should scroll the page up. For an example of what I mean, play around with the scrollable grid content here: https://www.ag-grid.com/example-gallery/#example-auto-height-full-width |
I suggest not scrolling the whole page even if user scrolled to the top of
the grid. what's other people's opinion?
Or can we put a flag to control this?
…On Wed, Apr 3, 2019 at 7:10 AM Chris Jordan ***@***.***> wrote:
Hmm I actually think that would be expected behavior. If you scroll to the
top of the grid and continue to scroll up, it should scroll the page up.
For an example of what I mean, play around with the scrollable grid content
here:
https://www.ag-grid.com/example-gallery/#example-auto-height-full-width
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#419 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AlQiN1sodNTzSagyAj2seRhbIt03yhlWks5vdLZagaJpZM4cO3Va>
.
|
A flag seems like a reasonable approach. |
@datavisorfrankhe, issue fixed with release v1.0.0-beta.16. I'll close the issue for now, but feel free to reopen if you face any issues. |
I found that when table is scrolling up, the whole page containing the table keeps scrolling up also. Can I ask what is the best way to prevent out div wrapper from scrolling up when the table is scrolling, even if it has already scrolled to the end?
I tried the onScrollStartEvent, I want to have the native event, and then use event.preventPropotation, but I can not get the native scrolling event from this event.
Any ideal will be helpful.
Thanks
Your Environment
Version used:
"react": "15.3.2",
"fixed-data-table-2": "^0.8.13",
Browser Name and version:
Operating System and version (desktop or mobile):
Link to your project:
The text was updated successfully, but these errors were encountered: