The Compose documentation states that both enter a...
# compose-android
c
The Compose documentation states that both enter and space will trigger a click event. (keyboard navigation with a physical keyboard). However, in all the Compose apps I’ve ever made, only enter works. For non-compose apps, space works too. Does anyone have an idea why? Doesn’t matter if it’s a button or clickable modifier. Space does nothing in all the Compose apps i’ve tested
l
How are you testing this, on a physical device with a keyboard attached? It would be good to file a bug
It should be supported
c
Yes, a physical device with a bluetooth keyboard. I’ll file a bug 🙂
l
And are you using a recent version of Compose?
c
yes 2025.03.01
l
Thanks