Skip to content

Prevent autoscroll when picking card near the edge #208

Open
@misha-erm

Description

@misha-erm

Hello,

At the moment autoscroll fires immediately as soon as you start dragging item no matter at which direction you were dragging to. Imo this leads to strange UX

I'm building a timeline component and at the moment it's pretty frustrating to drag cards that are close to the edge

Screen.Recording.2025-05-13.at.10.35.55.mov

I can see it's also valid for Board example from the docs
https://github.com/user-attachments/assets/02da2902-a9c2-412a-bf6e-f97c784d87c6

I guess ideally scroll should be triggered only when card is moved towards scroll's edge

But maybe there are some workarounds to at least make autoscroll less aggressive? I believe that ability to reduce maxMainAxisHitboxSize could be enough for me

Thank you 🙇🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions