Is it correct that `FocusRequester.requestFocus()`...
# compose
o
Is it correct that
FocusRequester.requestFocus()
doesn’t transfer TalkBack (accessibility) focus? In contrast,
View.requestFocus()
does transfer TalkBack focus as expected, so it seems logical that
FocusRequester.requestFocus()
should behave the same. This was mentioned here, but there hasn’t been any response from the Compose team. I’ve tested this on Compose 1.8.2 and 1.9.0-beta01. I'm asking because of a TV app.
Okay, so
FocusRequester.requestFocus()
seems to transfer TalkBack focus when invoked e.g. in an
onClick
handler, but it doesn't work inside
FocusProperties.onEnter {}
. That seems like a bug to me, so I've created an issue https://issuetracker.google.com/issues/427020746