mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-03 02:48:41 +08:00
fixed popup invalid transition when we closed it in fullscreen state and then opened again
This commit is contained in:
parent
d57934152b
commit
d08eb2add2
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,7 @@ export default function Popup() {
|
|||
|
||||
reset();
|
||||
close();
|
||||
setIsFullscreen(false);
|
||||
}
|
||||
|
||||
if (!isOpen) {
|
||||
|
@ -142,6 +143,7 @@ export default function Popup() {
|
|||
onRequestClose={() => {
|
||||
reset();
|
||||
close();
|
||||
setIsFullscreen(false);
|
||||
}}
|
||||
isFullScreen={isFullscreen}
|
||||
style={fullScreenTransitionStyles}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue