Skip to content

Commit

Permalink
Set floating-ui to max z-index (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-buckley committed Apr 28, 2022
1 parent 1a9409f commit f0d69be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/click-to-react-component/src/ContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ export const ContextMenu = React.forwardRef(

return html`
<style key="click-to-component-contextmenu-style">
#floating-ui-root > div {
z-index: 2147483647;
}
[data-click-to-component-contextmenu],
[data-click-to-component-contextmenu] * {
box-sizing: border-box !important;
Expand Down

0 comments on commit f0d69be

Please sign in to comment.