@swiftbrowser/web 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/styles.css +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swiftbrowser/web",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "type": "module",
5
5
  "description": "SwiftBrowser web renderer and dev server: applies render ops from a Swift/Wasm app to the DOM inside an iPhone frame.",
6
6
  "repository": {
package/src/styles.css CHANGED
@@ -2405,6 +2405,18 @@ svg[data-sb-symbol="progress.indicator"] > line:nth-child(8) { animation-delay:
2405
2405
  -webkit-backdrop-filter: none;
2406
2406
  }
2407
2407
 
2408
+ /* For the same reason, while a sheet slides in or out, what scrolls in it
2409
+ does not. A list or scroll view taller than the card is a scroller, which
2410
+ WebKit on iOS composites on its own, and the bar runs over its top: the
2411
+ bar button's text, painted over it, is then composited on its own too,
2412
+ and was missing until a sheet of a long form had slid in (a short one,
2413
+ which does not scroll, was fine). `hidden` keeps the scroll offset, and
2414
+ the scroll bars are not drawn (`scrollbar-width: none`), so nothing moves. */
2415
+ .sb-sheet--in :is(.sb-list, .sb-scrollview),
2416
+ .sb-sheet--out :is(.sb-list, .sb-scrollview) {
2417
+ overflow: hidden;
2418
+ }
2419
+
2408
2420
  /* iOS 26 press feedback on Liquid Glass (src/press.ts): while a pointer is
2409
2421
  down on a bar button or a glass button, the glass under it (a bar
2410
2422
  capsule, the back and More circles, the sidebar toggle, a `.glass`