<Popover
key={element.id}
className={classes.popoverItem}
classes={{
paper: classes.paperElement
}}
open={isOpen}
anchorEl={this.myRef.current}
anchorOrigin={{
vertical: 'bottom',
horizontal: 'right'
}}
transformOrigin={{
vertical: 'top',
horizontal: 'left'
}}
disableRestoreFocus
hideBackdrop
>
The Popover above is causing an issue when trying to trigger the onMouseLeave
event. It seems that due to the lack of other HTML elements surrounding it, the action is not being emitted. Is there a way to resolve this problem and make the event work as intended?
If you need more information on Popovers, check out the documentation here - https://material-ui.com/utils/popover/