Problem/Motivation
When dragging a Paragraph element in a multievaluated Paragraphs field in a content edit form I can drag, but the Paragraphs row then sticks to the cursor, regardless of whether there has been a click to anchor it in the new position.
I also get the following Console JS error :
Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at tabledrag.js
Seems like line 524 of /themes/contrib/gin/js/overrides/tabledrag.js is concerned.
The field uses the Paragraphs Stable widget, but same behavior is met with Paragraphs Legacy or Paragraphs Browser.
Steps to reproduce
1. A Node with multievaluated paragraph field
2. Use Paragraph Stable or Legacy Form Widget
3. Edit a Content of this type and dd multiple Paragraphs in the multievaluated Paragraphs Fields
4. Try to reorganise Paragraphs elements with drag n drop feature
Tested on Drupal 10.6.3 with Gin 4.1.3 (works under Drupal 10.4.9 and Gin 8.x-3.0).
May be related to Gin issue 3522015.
Similar issue on Paragraph Table module (which I do not use on the project).
Thanx for the help!
Comments
Comment #2
dafauvelle commentedThis also happens on Drupal 10.6.5 with Gin 4.1.3
Comment #3
dafauvelle commentedThe issue also happens with Drupal 10.6.5 and Gin 4.1.3.
(Downgrade to Drupal 10.4.9 and Gin 8.x-3.0 did not fix, but downgrade Paragraphs to 1.17 did)