Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Drag and drop: When dragging a gear item the parent list does not scroll #52

@benhoneywill

Description

@benhoneywill

Describe the bug
When dragging a gear item to another category, moving the item to the edge of the screen does not scroll the parent container. This is very annoying on mobile

To Reproduce
Steps to reproduce the behavior:

  1. Go to a pack or inventory
  2. Have enough categories to cause a horizontal scroll bar
  3. Try and drag a piece of gear to another category that is not currently on the screen

Expected behavior
The screen scrolls when your cursor gets to the edge of the screen, revealing the hidden category for you to drop into

Additional context
This is a limitation of the react-beautiful-dnd library I have used for drag and drop... atlassian/react-beautiful-dnd#131

We could either figure out a way to force the parent to scroll ourselves or migrate to another library as this one doesn't look like it is maintained anymore. Both options sound like a lot of work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions