Open shruti8789 opened 5 years ago
What is the use case you are trying to support? Do you think there is something wrong with the existing logic? Could we improve it?
It feels like this issue is getting at a problem in thinking about how we auto scroll.
Here are the values we use to control auto scroll behaviour:
@alexreardon is there a way to adjust those values to be precise the startFromPercentage
@alexreardon, If you try to drag a task outside this definite area (at the start or end of the tasks visible), as soon as you will pick the task the pane will start scrolling. Problem: If you pick a task from below the area defined after which we start scrolling, it will automatically starts to scroll down, even if the intention of the user was to drag it upwards.
@shruti8789 that is correct and that is what I'm trying to avoid or reduce.
Perhaps we could expose a way to expose the auto scroll config
@alexreardon Here, we can see a definite area after which it starts to auto-scroll (both above and down the pane/palette) . Can we customize this area?
Originally posted by @shruti8789 in https://github.com/atlassian/react-beautiful-dnd/issues/27#issuecomment-477559715