Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Missing segements in DraggableList  #269

@rikteg

Description

@rikteg

Please do not disclose security vulnerabilities as issues. See our security policy for responsible disclosures.

Describe the bug

When dragging a segment in DraggableList, the index/key changes, causing the segments to update wrong.

To reproduce

In the demo (https://axiscommunications.github.io/practical-react-components/#/components/draggablelist), mark the text of one of the segments (i.e. "1" or "2").

Drag the marked text to another location in the list.'

Screenshots

  • Mark text
    image

  • Drag text one row down
    image

Environment

  • Axis device model: P3245-LVE
  • Axis device firmware version: 11.5
  • Stack trace or logs: N/A
  • OS and version: Windows 10, build 19045.2965
  • Version: N/A

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions