Skip to content

Dev-Mode: Virtualized dnd aborts when autoscrolling focusedKey into view #8548

@nwidynski

Description

@nwidynski

Provide a general summary of the issue here

In dev builds, the virtualized dnd aborts when autoscrolling the focusedKey out of view and then back into view again. This issue does not exist on production builds, such as the deployed version of our storybook.

🤔 Expected Behavior?

DnD should be behave the same in dev as in production.

😯 Current Behavior

State becomes stale and indicators vanish when scrolling the focusedKey back into view.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

  1. Open "Virtualized ListBox DnD" story in the LOCAL storybook
  2. Start drag interaction with keyboard or mouse
  3. Scroll the focusedKey out of view by moving the drag indicator, causing autoscroll
  4. Scroll the focusedKey back into view, which causes the indicator to vanish and state to be stale

Version

latest

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

OSX

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

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