Skip to content

Tree: Drag/drop bug on docs page #6483

@RasmusPJustesen

Description

@RasmusPJustesen

Environment

On the live Nuxt UI docs page
https://ui.nuxt.com/docs/components/tree#with-drag-and-drop

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.8.0

Reproduction

  1. Go to https://ui.nuxt.com/docs/components/tree#with-drag-and-drop (note it is the drag and drop section)
  2. drag/drop a file above a folder
  3. open/close a folder
  4. now the tree structure is messed up

Description

The drag and drop feature for the Tree component breaks the ordering when elements are moved

here is a preview gif of the issue
Image

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv4#4488

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions