Skip to content
Snippets Groups Projects
Commit 38e35cc4 authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[FIX] web_editor: scroll and editing menu modal

The class modal-open on body tag allow to scroll on the modal content
which is useful if the content is taller than the window viewport.

When closing the modal, this class is removed but there may be another
modal open on which we will not be able to scroll to view
buttons/content if too big.

This commit check if a modal is still opened after closing an editor
modal and in the affirmative add back the modal-open class.

opw-674475

note : was already present in 8.0 with ec47493f, it is also present for
web.Dialog (but the modal of the editor do not inherit from web.Dialog)
parent f41bcda0
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment