Needs review
Project:
Layout Builder Modal
Version:
8.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2022 at 20:21 UTC
Updated:
29 Jan 2024 at 18:49 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
jayhuskinsComment #3
jayhuskinsHere is a patch that sets
drupalAutoButtonstoFALSEin the modal dialog options.Comment #4
jayhuskinsComment #5
alvarodemendoza commentedI've tried with both patches and it didn't worked with Drupal 9.4.8
I found another solution consisting on adding a wrapper div with .form-actions class to the Add Block button and removing the .form-actions wrapper from the Add another item one. This one worked because the drupalAutoButtons functionality searches for that class in order to move the buttons.
Comment #6
gaurav-mathur commentedComment #7
gaurav-mathur commentedPatch #3 applied successfully on Drupal 9.4.3.
The patch not work for me.
Thank you.
Comment #8
jayhuskinsComment #9
jayhuskins@guarav-mathur, I tested it again on Drupal 9.4 and the patch still works for me, so I added steps to reproduce to the issue.
Comment #10
jayhuskinsComment #11
jayhuskinsComment #12
jayhuskinsSetting this to postponed until this core issue is fixed:
https://www.drupal.org/project/drupal/issues/2793343
Comment #13
jayhuskinsThe core issue has been fixed, and so this patch can now be evaluated against 11.x.