- Issue created by @mistrytheory
- First commit to issue fork.
- Status changed to Postponed: needs info
3 months ago 10:14pm 16 August 2024 - πΊπΈUnited States sethhill
I haven't been able to replicate this error on 2.0.8 or the latest 2.0.x branch. Can you provide more information on your configuration?
- π²πΎMalaysia ckng
Just ran into exactly same issue. Tested patch #4, working for us.
- π²πΎMalaysia ckng
Sorry, didn't mean to change that.
Tested 2.1.0, so far unable to reproduce the issue. - π¨πΏCzech Republic vit.smutny
Hello, I encountered an issue while using multiple fields directly in a node with Layout Paragraphs in version 2.1.0. If there are multiple fields with Layout Paragraphs in a node, it only works correctly for elements in the first field. In each subsequent field with Layout Paragraphs, it does not function properly.
For me, the fix from patch #4 worked, but only the first part, and not in the file builder.es6.js, but in builder.js.
- πΊπΈUnited States NicholasS
@ckng see https://www.drupal.org/project/layout_paragraphs/issues/3476838 π JS error when Drag and Dropping Active for video demo of problem, not sure what exact conditions you have to have for the drag and drop to not work, but its only on some of our content pages not all.
- Merge request !185Fix drag n drop issue Cannot read properties of undefined (reading 'querySelector') β (Open) created by NicholasS
- πΊπΈUnited States NicholasS
Created a patch for 2.1.x branch, patch #4 could not apply for me, so use https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/18...
Here is a debugger on the issue for those interested
https://www.drupal.org/files/issues/2024-10-03/dragndropjsdebug.mp4 β - π²πΎMalaysia ckng
Ran into the issue again. Rerolled and rebased to 2.1.x. Generated patch.