Skip to content

feat(ux): scroll while dragging #4

@itsjavi

Description

@itsjavi

I've seen that there is a scroller plugin in the codebase (which apparently is not bundled in the dist files) and I've tried to copy-paste it and use it but it doesn't work.

There's another problem (Idk. if it's related) on touch screens, which makes the droppables disable the device 'drag to scroll' behavior. If you try my example on mobile you can't scroll when touching the empty cells (which are only droppables). Non-empty cells (that have a pokemon) are both draggable and droppable.

Is there any plans to improve this behaviour of the library? As you can see in the video, the page doesn't scroll down when the draggable is in the viewport boundaries.

I can try to help with a PR if you let me know what would be the necessary changes.

Screen.Recording.2025-04-24.at.01.19.01.mov

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