faogustavo
05/06/2024, 1:38 PMfaogustavo
05/06/2024, 1:41 PMIllegalStateException: Can't merge NativeView semantics property.
I was able to trace it back to a native view (using the UIKitView
composable) with accessibility elements (accessibilityLabel
). Is it already tracked in any place? I was not able to find it. If not I can try to create a sample project to reproduce the issuefaogustavo
05/06/2024, 1:42 PMIvan Matkov
05/06/2024, 2:50 PMElijah Semyonov
05/06/2024, 2:55 PMElijah Semyonov
05/06/2024, 3:00 PMElijah Semyonov
05/06/2024, 3:02 PMfaogustavo
05/06/2024, 4:28 PMUIImageView
(used by the UIKitView
), inside an IconButton
on my toolbar.
But you said that
you have a clickable element with two interop views inside.We only have one element inside. Shouldn't it work? BTW, on the UIKitView, I'm setting the
interactive = false
Elijah Semyonov
05/06/2024, 4:42 PMElijah Semyonov
05/06/2024, 4:44 PMfaogustavo
05/06/2024, 5:28 PMElijah Semyonov
05/07/2024, 8:27 AMElijah Semyonov
05/07/2024, 8:56 AMfaogustavo
05/07/2024, 10:12 AMElijah Semyonov
05/07/2024, 10:17 AMElijah Semyonov
05/07/2024, 10:19 AMUIKitView
will be inaccessible by accessibility input. UIKitView
semantics will taint the Button
SemanticsNode and it will redirect the user to the native UIView
instead of UIAccessibilityElement
proxying the Button
semantics.Elijah Semyonov
05/07/2024, 10:22 AMUIKitView
to opt out the element out of accessibility resolution (so a simple native icon doesnât override the semantics of the buttons itâs contained in).Elijah Semyonov
05/07/2024, 10:23 AMElijah Semyonov
05/08/2024, 12:36 PMfaogustavo
05/08/2024, 2:01 PMElijah Semyonov
05/10/2024, 7:07 AM