Problem/Motivation
'Add above' in edit paragraph library in modal is behind parent dialog because a z-index is calculated wrong.
Steps to reproduce
Add a node with paragraphs, add a library paragraph, edit library paragraph, use 'Add above' to add some paragraph - you will see 'Add above' dialog which is behind the parent edit library dialog.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add-above-paragraph-library-not-visible-3213737-2.patch | 917 bytes | pivica |
Comments
Comment #2
pivica commentedHere is a patch. The problem is that we are not stopping event propagation in paragraphs.add_above_button.js clickHandler method. As a consequence UI dialog.js modusedown method can be called before dialog creation (correct sequence) or after dialog creation (not correct sequence). Comment in the patch explains this in more details.
Comment #4
berdirThank you. Committed.