fix(dialog-portal): set z-index to high value
This commit is contained in:
parent
7b8b911fee
commit
e3a546f08e
|
@ -65,6 +65,7 @@ function DialogPortal({ children, className, style, getRef, setSize }: Props) {
|
|||
useEffect(() => {
|
||||
if (portalTarget && getRef) {
|
||||
getRef(portalTarget);
|
||||
portalTarget.style.zIndex = '300';
|
||||
}
|
||||
}, [ portalTarget ]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue