Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/js/scripts/edit.header.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
const headerBottomRowNode = headerNode.querySelector('.ibexa-edit-header__row--bottom');
const { height: expandedHeaderHeight } = headerNode.getBoundingClientRect();
const scrolledContent = doc.querySelector('.ibexa-edit-content > :first-child');
const { controlZIndex } = ibexa.helpers.modal;
const { controlManyZIndexes } = ibexa.helpers.modal;
const fitEllipsizedTitle = () => {
const titleNode = headerBottomRowNode.querySelector('.ibexa-edit-header__name--ellipsized');
const firstMenuEntryNode = headerNode.querySelector('.ibexa-context-menu .ibexa-context-menu__item');
Expand Down Expand Up @@ -49,5 +49,5 @@
};

contentNode.addEventListener('scroll', fitHeader, false);
controlZIndex(headerNode);
controlManyZIndexes([{ container: headerNode }, { container: headerBottomRowNode }], headerNode);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is necessary to add a z-index control to node ibexa-edit-header__row--bottom because in the header in the slim version node ibexa-edit-header__row--bottom has z-index set to 1 and the modal share dialog is is covered with a backdrop

})(window, window.document, window.ibexa);
Loading