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

Description
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

-
Drag text one row down

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.