I'm experimenting with Compose interoperability. I...
# compose
j
I'm experimenting with Compose interoperability. I have an xml layout that defines a debug drawer and then my compose view for the rest of the application. The debug drawer is a fragment with its own View using the regular Android View. The displaying Compose screen is a simple login form.
java.lang.IllegalStateException: KeyEvent can't be processed because this key input node is not active.
When I hit tab on the emulator to switch fields, I get this exception; is this attempting to forward the keyevent to the hidden drawer fragment? I'm unsure why adding the AndroidView would cause this
r
Does this happen when the debug drawer has focus and you press tab? Or does this happen when you press tab when the compose view is in focus?
This seems like a bug. Can you create a bug at https://issuetracker.google.com/issues/new?component=612128 and add a minimal repro snippet?