Skip to content

Commit

Permalink
feat(Assistant): Set correct z-index for ResultMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Oct 17, 2024
1 parent 43c308e commit 4220cd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/assistant/ResultMenu/ResultMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import styles from './styles.styl'
const ResultMenu = ({ anchorRef, onClick }) => {
return (
<Popper
style={{ width: anchorRef.current.offsetWidth }}
style={{
width: anchorRef.current.offsetWidth,
zIndex: 'var(--zIndex-popover)'
}}
anchorEl={anchorRef.current}
open={Boolean(anchorRef.current)}
placement="bottom-start"
Expand Down

0 comments on commit 4220cd4

Please sign in to comment.