-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 user in the bottom of scrollable list, scroll up is not working #628
Comments
Please provide the information requested in our ISSUE_TEMPLATE or we cannot action this |
@alexreardon Updated |
I cannot seem to reproduce what you are seeing |
Here is another example that exercises the same use case: |
Ah ok thanks, but what wrong with my example? I took there basic example from the library page. I had same issue in my project... |
I cannot reproduce it on my machine with your example: https://codesandbox.io/s/3457zo2kn1 ...? |
I cannot reproduce it in FireFox or Chrome |
Using the example you provided... |
Ah may be because I'm using mac, I attached |
Ah found, it doesn't work if there is exististing horizontal scroll, if remove it - it works. Not sure if it's a bug or no... |
Can you please provide some more details?
…On Mon, 9 Jul 2018 at 5:34 pm, Simcha Shats ***@***.***> wrote:
Ah found, it doesn't work if there is exististing horizontal scroll, if
remove it - it works. Not sure if it's a bug or now...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#628 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACFN7Y60sJ_pNkNm73Q_OFbjz30rzevgks5uEwd9gaJpZM4VHHh8>
.
|
Here the example: https://ufile.io/4qd3a |
I found the issue! When you are using overflow: scroll it is adding a horizontal scroll bar. This difference is messing with the auto scrolling calculations. Try using one of the following
All of these will work how you expect them to! Not sure if it is worth looking into the issue caused by the redundant scroll bar. The issue is caused because the redundant scroll bar is messing with our internal dimension model |
I am keen to solve the underlying issue though :) |
ok thanks |
Bug: When user in the bottom of scrollable list, and drag bottom item to the top, scroll top is not working.
Expected behaviour: List should scroll up when user move draggable item to the top of the list
Actual behaviour: List is not scrollable
Steps to reproduce: Basic example from library with updates: https://codesandbox.io/s/3457zo2kn1
What version of
React
are you using: 16What version of
react-beautiful-dnd
are you running: latestWhat browser are you using: Chrome
Operating system: OSX (mac)
Demo
The text was updated successfully, but these errors were encountered: