Showing a Fixed Overlay from the Header #8091
Unanswered
yhranik-vp
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You can use the Portal component to render the Overlay outside the current element z-index stacking context. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After performing a certain action in the header component, I want to display a global fixed overlay that covers the entire app.
If I render the fixed overlay inside the header, it covers both the header and the main page, but not the sidebar.
Is it possible to trigger a global fixed overlay from the header component directly, or do I need to use React context or another form of global state to achieve this?
https://codesandbox.io/p/devbox/mantine-react-template-forked-x8ys9g
Beta Was this translation helpful? Give feedback.
All reactions