Phone layout: chip strips no longer scroll the page, sheets stop short of the Dynamic Island, tab bar stays at the bottom after the keyboard
- useRevealActiveChip sets the strip's own scrollLeft instead of scrollIntoView, which walked every scrollable ancestor and jumped the page when the strip sat above the fold; .chips contain overscroll on both axes. - Every .sheet cap (and .center) carries env(safe-area-inset-top); the dead -webkit-overflow-scrolling is gone. - viewport-guard: with the keyboard down and the page displaced, a text field that kept focus (WebKit does not blur on button taps) is blurred and the correction runs; while Modals has the body pinned it unpins for one scroll and pins back where it was. Modals blurs a page field when a sheet opens; ticking a set blurs the row's input. - Android: shortEdges cutout mode so --sat is real, adjustResize for the keyboard.
This commit is contained in:
1 parent
413bce5bf8
commit
d58a98e768
9 files changed
+140
-17
No files matched your search
@@ -13,6 +13,7 @@
|
||||
android:label="@string/title_activity_main"
|
||||
android:theme="@style/AppTheme.NoActionBarLaunch"
|
||||
android:launchMode="singleTask"
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="android:background">@null</item>
|
||||
<!-- Draw into the camera cutout like iOS does under the notch: the WebView then reports a
|
||||
real env(safe-area-inset-top) and the sheets keep clear of it (index.css --sat). -->
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user