modal dialog close button doesn't reset buttons that trigger modal

Created on 4 October 2017, over 6 years ago
Updated 27 January 2023, over 1 year ago

Closing modal doesn't reset the buttons that launched it, so that if you open up another modal from the wysiwyg, the original modal opens again on top of it.

Modal 1 is a paragraph field using paragraphs classic widget in the open position. The paragraph has a field that allows for media, this is where the entity browser appears using inline entity form complex, to allow creating new or selecting (with the modal) existing media.

Modal 2 is launched from the wysiwyg with an entity embed button of a media entity. If you have previously clicked the close button on Modal 1, Modal 1 appears above Modal 2.

One thing I noticed is that the original state of the buttons that launch Modal 1 aren't resetting when you click the close button (".ui-dialog-titlebar-close").

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Selection display plugins

Created by

πŸ‡ΊπŸ‡ΈUnited States oknate Greater New York City Area

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024