OpenSlides / OpenSlides/openslides-client
Sort: drag&drop sort snaps not to next item on list end
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 52
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 52
Description
Describe the bug
If a user wants to sort items in list via drag&drop, it is not possible to place the items at the end of the list and wait for an automatic scroll. The list is static.
How to Reproduce
- open a meeting
- open agenda > add enough items to get a scroll bar
- open the agenda list > open sort view > drag the first item to the end of the list. It won't snap & scroll down to the next item.
Expected behavior
In previous versions it was possible to drag&drop an item to the end of the list and wait a moment until the listing scrolls to the next item. This behaviour should be reintegrated for all sort lists.
Additional context
Maybe an old PR of version 4.2.7 had an affect on this. Possibly this one https://github.com/OpenSlides/openslides-client/pull/4709
But I'm not sure.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in a meeting's agenda sort view with enough items to create a scrollbar. Read the referenced pull request #4709 and trace the drag-and-drop sorting behavior from the agenda sort view; done means dragging an item to the list end triggers scrolling to the next item, consistently across sort lists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100