mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(ui): reopen a popout clicked while it is closing (#3318)
This commit is contained in:
1 parent
a6a9789091
commit
acc1392a53
4 files changed
+19
-6
No files matched your search
@@ -94,9 +94,7 @@ export const AppWrapper = observer(({children}: AppWrapperProps) => {
|
||||
() => ({variant: layoutVariant, setVariant: setLayoutVariant}),
|
||||
[layoutVariant],
|
||||
);
|
||||
const popouts = Popout.getPopouts();
|
||||
const topPopout = popouts.length ? popouts[popouts.length - 1] : null;
|
||||
const topPopoutRequiresBackdrop = Boolean(topPopout && !topPopout.disableBackdrop);
|
||||
const topPopoutRequiresBackdrop = Popout.requiresBackdrop();
|
||||
const hasBlockingModal = Modal.hasModalOpen();
|
||||
const room = MediaEngine.room;
|
||||
const ringsContainerRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
Reference in new issue
Block a user