Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1465 | AddToCollection popper to have corre…
Browse files Browse the repository at this point in the history
…ct z-index
  • Loading branch information
snyaggarwal committed Feb 1, 2023
1 parent 894cd0c commit 104860d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/common/AddToCollection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@ class AddToCollection extends React.Component {
return (
<React.Fragment>
{button}
<Popper open={open} anchorEl={this.anchorRef.current} transition style={{zIndex: 1000}}>
<Popper open={open} anchorEl={this.anchorRef.current} transition style={{zIndex: 1300}}>
{({ TransitionProps, placement }) => (
<Grow
{...TransitionProps}
style={{
transformOrigin: placement === 'bottom' ? 'center top' : 'center bottom',
zIndex: '1000'
zIndex: '1300'
}}
>
<Paper>
Expand Down

0 comments on commit 104860d

Please sign in to comment.