To reproduce: 1. Open any biblio and edit that record. (select "Edit record" from the "Edit" drop-down menu). 2. Check that selecting the text in any draggable block input/textarea fields with a mouse is not possible - it starts dragging instantly.
Created attachment 159313 [details] [review] Bug 35425: Optimize UX when dragging a Tag or Subfield To reproduce: 1. Open any biblio and edit that record. (select "Edit record" from the "Edit" drop-down menu). 2. Check that selecting the text in any draggable block input/textarea fields with a mouse is not possible - it starts dragging instantly. 3. Apply the patch 4. Make sure that draging is activated only when you click on the "::" icon in front of the dragged item. And text selection works correctly.
Created attachment 159379 [details] [review] Bug 35425: Optimize UX when dragging a Tag or Subfield To reproduce: 1. Open any biblio and edit that record. (select "Edit record" from the "Edit" drop-down menu). 2. Check that selecting the text in any draggable block input/textarea fields with a mouse is not possible - it starts dragging instantly. 3. Apply the patch 4. Make sure that draging is activated only when you click on the "::" icon in front of the dragged item. And text selection works correctly. Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Created attachment 159426 [details] [review] Bug 35425: Optimize UX when dragging a Tag or Subfield To reproduce: 1. Open any biblio and edit that record. (select "Edit record" from the "Edit" drop-down menu). 2. Check that selecting the text in any draggable block input/textarea fields with a mouse is not possible - it starts dragging instantly. 3. Apply the patch 4. Make sure that draging is activated only when you click on the "::" icon in front of the dragged item. And text selection works correctly. Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
More a bug than an enh!
This fixes the buggy behavior, but in testing this I feel like we might think about improving UX a bit more (on a separate bug). I believe that our drag & drop is not very accessible and a little hard to handle when you are on a slow system.
Pushed for 24.05! Well done everyone, thank you!
Pushed to 23.11.x for 23.11.01
Missing dependencies for 23.05.x, no backport.