OpenSlides / OpenSlides/openslides-client

Sort: drag&drop sort snaps not to next item on list end

Open
#6,281 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug low
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

  1. open a meeting
  2. open agenda > add enough items to get a scroll bar
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.