Skip to content

Number of visible items changes if items go into an overflow #155

@stevenmckinnon

Description

@stevenmckinnon

Hi,

I'm running into an issue using this library in a tab bar. When there are too many tabs to fit in the container, some automatically overflow into a menu—this is handled by an external component library that I can't control. As a result, the number of items rendered in the parent doesn't match the expected list, which triggers the error: The number of draggable items defined in the parent element does not match the number of values. This may cause unexpected behaviour.

This means users can't sort their tabs unless they close some or have a wide enough screen.

Is there a way to avoid this warning, and just ignore the overflowed items unless they're moved back into the main visible list?

v0.5.3

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