diff --git a/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-actions.js b/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-actions.js index e9f9471339..4cf7a99b75 100644 --- a/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-actions.js +++ b/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-actions.js @@ -77,12 +77,24 @@ class ProfileActions extends React.PureComponent { const dropDownItem = path ? path.find((x) => x === this.ref.current) : null; if (dropDownItem) return; + const navElement = document.getElementsByClassName("profileMenuIcon"); + + if (navElement?.length > 0) { + navElement[0].style.setProperty("z-index", 180, "important"); + } + this.setOpened(!this.state.opened); }; onClick = (action, e) => { action.onClick && action.onClick(e); + const navElement = document.getElementsByClassName("profileMenuIcon"); + + if (navElement?.length > 0) { + navElement[0].style.setProperty("z-index", 210, "important"); + } + this.setOpened(!this.state.opened); };