mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-16 18:15:17 +00:00
Fix popout bug
This commit is contained in:
parent
0045163630
commit
51724987ca
|
@ -50,11 +50,7 @@ export function OverlayPortal(props: {
|
|||
{portalElement
|
||||
? createPortal(
|
||||
<Transition show={props.show} animation="none">
|
||||
<FocusTrap
|
||||
focusTrapOptions={{
|
||||
onDeactivate: close,
|
||||
}}
|
||||
>
|
||||
<FocusTrap>
|
||||
<div className="popout-wrapper fixed overflow-hidden pointer-events-auto inset-0 z-[999] select-none">
|
||||
<Transition animation="fade" isChild>
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue