Hello! In iOS, the behavior in Column and Row is d...
# compose-ios
a
Hello! In iOS, the behavior in Column and Row is different from Android. When you click on a list item that is not fully visible in iOS, the list automatically scrolls to make the selected item fully visible. How can I disable this behavior?
d
Can you please provide reproducible sample ?
a
@Dima Avdeev I’m grateful for your time and assistance. Here’s a simple example , run it on two platforms and compare the behavior when you click on an item which is partially visible.
a
Without looking, I’d guess your items are focusable and are focused on click, which activates the bringIntoView thing.
n
How can I disable this behavior?
You may add
focusProperties { canFocus = false }
to button modifier
d
@Alex Thanks for reproducer! Made issue here: https://github.com/JetBrains/compose-multiplatform/issues/3132 As I understand - it is not a critical bug. I think for now we will have another priority.