roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.87k stars 1.64k forks source link

Managesieve: dragging newly created rule jumps to top of list #9153

Open emtiu opened 1 year ago

emtiu commented 1 year ago

I use the managesieve plugin to administrate a large number of filters. Whenever I create a new filter, it is added to the bottom of the list in the second pane. However, when I try to drag this newly created filter into a different position, the list jumps to the top of the scroll space, which is unexpected and disorienting.

Steps to reproduce:

  1. Have the managesieve settings open with a large number of filters, so that the second pane (list of filters) has a scrollbar.
  2. Create a new filter.
  3. Scroll to the bottom of the list, where the newly created filter is located.
  4. As soon as the newly created filter is clicked, the scroll position of the list jumps to the top. It stays there, even when dragging the newly created filter.

Tested version: Roundcube 1.6.3 on PHP 8.1

alecpl commented 1 year ago

Confirmed. Also worth adding would be auto-scrolling of the list while holding dragged element (cursor) on top or bottom of the list. Same as on the folders list.