Problem/Motivation
After updating Drupal Core to 10.6 with paragraphs 1.20. The drag and drop of the paragraphs does not work.
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 and 10.6.5 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!
This is the same issue as https://www.drupal.org/project/gin/issues/3577053 which was opened by user rubberg
Comments