Skip to content

[FEATURE] allow scrolling of parent div with Reorder Items #1339

@augustblack

Description

@augustblack

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

There is an issue when a Reorder.Group has a number of items that overflows out of the Reorder.Group or a parent element.

see here: https://codesandbox.io/s/framer-motion-5-drag-to-reorder-lists-forked-beoy0

I would expect that when I drag a visible item towards the bottom of the Reorder.Group or parent div, that it would scroll with the cursor so that you can position the element.

Describe the solution you'd like

I'm not sure what the solution is. Would it be possible to use the drag controls somehow to achieve this?

Describe alternatives you've considered

One solution is to instead use dnd-kit that handles this.

thanks for the great library and for your consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions