Problem/Motivation

When dragging a field (in the add/edit form) with multiple Paragraphs 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 see the following Console error
Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at tabledrag.js

The field uses the 'Paragraphs Table' widget. If the widget is changed to Paragraphs Legacy or Paragraphs Stable, normal drag and drop behaviour is observed.

Thought it might be related to Core issue #3441551: Draggable table do not drag. Uncaught TypeError: Cannot read properties of undefined (reading 'colSpan') but tried those patches with no success

Also tried various admin themes for editing content - including Gin and Claro - the behaviour is the same.

Comments

robcarr created an issue. See original summary.

  • lazzyvn committed 27a75299 on 2.x
    fix: #3575506 Cannot Drag Paragraph Rows with Form Widget
    
lazzyvn’s picture

Version: 2.0.7 » 2.x-dev
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

robcarr’s picture

Thank you @lazzyvn - works great now

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.