Skip to content

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

Open
@Ryota0312

Description

@Ryota0312

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
    }
  }
// ...
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions