Assigned
Status Update
Comments
je...@google.com <je...@google.com>
ra...@google.com <ra...@google.com> #2
We could add an API to make the weighted distance customizable, aosp/3271691 has more info.
Description
It seems there's a bug in Compose when navigating focus within grid layouts. In certain situations, a row is skipped when moving focus up or down. Specifically, if an item is significantly wider than the currently focused item and both share the same start or end
x
coordinate, the focus search skips it and jumps to another row. The minimal repro below usesLazyVerticalGrid
, but I'm encountering the same issue with a more complex layout based onMinaBox
.Jetpack Compose version:
Jetpack Compose component used:
Android Studio Build:
Kotlin version:
Code Sample to Reproduce: