fix(ui): drying popover footer no longer clipped by iOS Safari URL bar (#1669)

100vh and window.innerHeight report the layout viewport on iOS Safari, so
  the popover's Start Drying button rendered behind the bottom toolbar overlay.
  Switch the popover maxHeight to 100dvh and default computePopoverPosition's
  viewportHeight to visualViewport.height (with innerHeight fallback). The
  flip-above decision and the body-scroll fallback now both run against the
  actually-visible area, so the footer button stays reachable on iPhone.
This commit is contained in:
maziggy
2026-06-07 08:08:44 +02:00
parent edaf7c4559
commit ea4d5eb794
6 changed files with 112 additions and 7 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -26,7 +26,7 @@
<!-- Splash screens for iOS -->
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
<script type="module" crossorigin src="/assets/index-BCHcur4g.js"></script>
<script type="module" crossorigin src="/assets/index-SS1wDI23.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DgecYhis.css">
</head>
<body>