1ac4259b4213

fix: Isolate identity suggestion list scrolling (v2.14.49)

time
2026-08-14 22:30 UTC · 2 months ago
machine
koh2
parent
cad0d867ffdb
2 files VERSION+1 −1app/src/main/java/com/peachpasswords/ui/vault/IdentitySuggestDropdown.kt+5 −2
VERSION+1 −1
@@ -1 +1 @@1-2.14.481+2.14.49

view file

app/src/main/java/com/peachpasswords/ui/vault/IdentitySuggestDropdown.kt+5 −2
@@ -7,6 +7,7 @@77 import androidx.compose.foundation.layout.Spacer88 import androidx.compose.foundation.layout.fillMaxWidth99 import androidx.compose.foundation.layout.height10+import androidx.compose.foundation.layout.heightIn1011 import androidx.compose.foundation.layout.padding1112 import androidx.compose.foundation.shape.RoundedCornerShape1213 import androidx.compose.foundation.text.BasicTextField@@ -40,8 +41,9 @@4041  * the menu opens and the dropdown flickers shut.4142  *4243  * Mirrors the editor's visual language: IBM Plex Mono rows on the S2 glass43- * surface with a hairline T3 border. Suggestions are expected pre-trimmed to44- * <=4 by the ViewModel (see usernameSuggestions in INTEGRATION.md).44+ * surface with a hairline T3 border. The popup has a bounded viewport so its45+ * own Material scroll surface consumes list gestures instead of the editor's46+ * parent scroll container. Suggestions are capped at eight by the ViewModel.4547  */4648 @Composable4749 fun IdentitySuggestDropdown(@@ -55,6 +57,7 @@5557         onDismissRequest = onDismiss,5658         properties = PopupProperties(focusable = false),5759         modifier = Modifier60+            .heightIn(max = 240.dp)5861             .background(peachColors.S2)5962             .border(1.dp, peachColors.T3, RoundedCornerShape(10.dp))6063             .clip(RoundedCornerShape(10.dp)),

view file