Closed B4CKSL4SH-44 closed 1 year ago
@simon-schuster44 as mentioned in https://github.com/sjdemartini/mui-tiptap/issues/177#issuecomment-1791300215, I'm not very familiar with shadow dom usage with React components. Would you be able to provide a CodeSandbox example that illustrates the problem?
Update: The MuiPopper comes with a z-Index of three, which let him hide behind my page. I set it to 999 and now everything works fine. It was always there, I'm kinda ashamed now :D
@simon-schuster44 Great, glad you were able to figure it out! Thanks for following up and closing the issue
Describe the bug
Everything was working fine so far, because useRef is used for the components. But the color picker buttton works with event.currentTarget, which isn't accessible in the shadow dom. Any idea how i can solve that?
To Reproduce
` <MenuButton onClick={(e) => anchorEl ? handleClose() : setAnchorEl(e.currentTarget) } aria-describedby={popperId} {...otherMenuButtonProps}
Steps to reproduce the behavior:
System (please complete the following information):