diff --git a/cssVariables.css b/cssVariables.css index 7d5810e4a0..7992c310bb 100644 --- a/cssVariables.css +++ b/cssVariables.css @@ -31,21 +31,21 @@ --zIndex-SecondaryInspector-Close: 3; --zIndex-SecondaryInspectorElevated-Context: 1; --zIndex-SecondaryInspectorElevated-DropdownContents: 2; - --zIndex-Dialog-Context: 1; + --zIndex-Dialog: 55; --zIndex-FullScreenClose-Context: 1; --zIndex-Drawer: 45; --zIndex-Bar-Context: 1; --zIndex-PrimaryToolbar: 40; --zIndex-CheckboxInput-Context: 1; --zIndex-DropdownContents-Context: 1; - --zIndex-SelectBoxContents: 40; + --zIndex-SelectBoxContents: 55; --zIndex-NotInlineEditableOverlay-Context: 1; --zIndex-CalendarFakeInputMirror-Context: 1; --zIndex-RdtPicker-Context: 1; --zIndex-SideBar-DropTargetBefore: 1; --zIndex-SideBar-DropTargetAfter: 2; --zIndex-WrapperDropdown-Context: 1; - --zIndex-UnappliedChangesOverlay-Context: 1; + --zIndex-UnappliedChangesOverlay: 55; --zIndex-NodeToolBar: 2147483646; --fontSize-Base: 14px; --fontSize-Small: 12px; diff --git a/packages/build-essentials/src/styles/styleConstants.js b/packages/build-essentials/src/styles/styleConstants.js index f4f170cc4a..689794f6e4 100644 --- a/packages/build-essentials/src/styles/styleConstants.js +++ b/packages/build-essentials/src/styles/styleConstants.js @@ -22,20 +22,20 @@ const config = { loadingIndicatorContainer: '5', secondaryInspector: ['context', 'iframe', 'close'], secondaryInspectorElevated: ['context', 'dropdownContents'], - dialog: ['context'], + dialog: '5', fullScreenClose: ['context'], drawer: ['context'], bar: ['context'], primaryToolbar: '4', checkboxInput: ['context'], dropdownContents: ['context'], - selectBoxContents: '4', + selectBoxContents: '5', notInlineEditableOverlay: ['context'], calendarFakeInputMirror: ['context'], rdtPicker: ['context'], sideBar: ['dropTargetBefore', 'dropTargetAfter'], wrapperDropdown: ['context'], - unappliedChangesOverlay: ['context'], + unappliedChangesOverlay: '5', nodeToolBar: '2147483646' }, fontSize: { diff --git a/packages/neos-ui/src/Containers/RightSideBar/Inspector/index.js b/packages/neos-ui/src/Containers/RightSideBar/Inspector/index.js index e022a208fa..afbf2b13db 100644 --- a/packages/neos-ui/src/Containers/RightSideBar/Inspector/index.js +++ b/packages/neos-ui/src/Containers/RightSideBar/Inspector/index.js @@ -1,4 +1,5 @@ import React, {PureComponent} from 'react'; +import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import {produce} from 'immer'; import {mapValues} from 'lodash'; @@ -315,13 +316,14 @@ export default class Inspector extends PureComponent { return (
- {shouldShowUnappliedChangesOverlay && + {shouldShowUnappliedChangesOverlay && ReactDOM.createPortal(
- } + />, + document.body + )}