Skip to content

Commit 0c17e7d

Browse files
paw-hubBijinDev
authored andcommitted
Do not make overlay display as none if there are no overlays
This prevents exit animations from finishing which can result in stale overlays stacking on top of each other. Closes #10196 Co-authored-by: bir <bir@tutao.de>
1 parent 488642f commit 0c17e7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/common/gui/base/Overlay.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export const overlay: Component<OverlayParentAttrs> = {
8181
{
8282
inert: !visible,
8383
style: {
84-
display: visible ? "" : "none",
8584
"margin-top": "env(safe-area-inset-top)", // insets for iPhone X
8685
// keep the bottom nav bar clear & inset for iOS
8786
"margin-bottom": styles.isUsingBottomNavigation() ? px(component_size.bottom_nav_bar + getSafeAreaInsetBottom()) : "unset",

0 commit comments

Comments
 (0)