mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Fix popout bug
This commit is contained in:
parent
0045163630
commit
51724987ca
1 changed files with 1 additions and 5 deletions
|
@ -50,11 +50,7 @@ export function OverlayPortal(props: {
|
||||||
{portalElement
|
{portalElement
|
||||||
? createPortal(
|
? createPortal(
|
||||||
<Transition show={props.show} animation="none">
|
<Transition show={props.show} animation="none">
|
||||||
<FocusTrap
|
<FocusTrap>
|
||||||
focusTrapOptions={{
|
|
||||||
onDeactivate: close,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div className="popout-wrapper fixed overflow-hidden pointer-events-auto inset-0 z-[999] select-none">
|
<div className="popout-wrapper fixed overflow-hidden pointer-events-auto inset-0 z-[999] select-none">
|
||||||
<Transition animation="fade" isChild>
|
<Transition animation="fade" isChild>
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in a new issue