fix(dialog-portal): set z-index to high value

This commit is contained in:
Gabriel Borlea 2023-03-07 11:49:18 +02:00
parent 7b8b911fee
commit e3a546f08e
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ function DialogPortal({ children, className, style, getRef, setSize }: Props) {
useEffect(() => {
if (portalTarget && getRef) {
getRef(portalTarget);
portalTarget.style.zIndex = '300';
}
}, [ portalTarget ]);