Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -437,12 +437,19 @@ private fun NavigationBoundary(context: LuiExtensionContext) {
// edited block while the keyboard is still animating. Unbounded
// height keeps the chrome at natural size without querying
// intrinsic measurements unsupported by subcomposed LUI layouts.
// Editor chrome needs an opaque container because autocomplete rows are
// translucent; otherwise journal text bleeds through above the IME.
Box(Modifier.fillMaxSize()) {
Column(Modifier.fillMaxSize()) { NavigationContent(context, childIds[0], dismissesComposer) }
val chromeModifier = Modifier
.align(Alignment.BottomCenter)
.wrapContentHeight(unbounded = true)
Box(
Modifier
.align(Alignment.BottomCenter)
.wrapContentHeight(unbounded = true),
if (context.flag("bottom-occupies-layout-space")) {
chromeModifier.background(MaterialTheme.colorScheme.surfaceContainerLow)
} else {
chromeModifier
},
) {
context.child(childIds[1])
}
Expand Down
Loading