Skip to content
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

How to change auto scroll threshold when using KeyboardSensor? #1302

Open
Ryota0312 opened this issue Dec 22, 2023 · 0 comments · May be fixed by #1301
Open

How to change auto scroll threshold when using KeyboardSensor? #1302

Ryota0312 opened this issue Dec 22, 2023 · 0 comments · May be fixed by #1301

Comments

@Ryota0312
Copy link

Ryota0312 commented Dec 22, 2023

Thank you for creating a great dnd library!

Is there a way to change the auto scroll threshold when using KeyboardSensor?
I know autoScroll props in DnDContext is not effect to KeyboardSensor. (I think so autoScrollEnabled set to false in KeyboardSensor.)

I created a PullRequest (#1301).
If there is not way to change threshold, please review my PR and merge.

It is not work:

<DnDContext 
  autoScroll = {
    {
      x: 0.3,
      y: 0.3
    }
  }
// ...
>
@Ryota0312 Ryota0312 linked a pull request Dec 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant