Pressing the return key in TextField triggers the parent container's clickable #4612
Labels
bug
Something isn't working
input
Touch, mouse, keyboard input related
upstream (AOSP)
Issue is in Google issue tracker
Describe the bug
When focusing on a TextField and displaying the virtual keyboard, pressing the return key triggers the clickable set on the parent container that contains the TextField. This may cause unintended behavior.
Affected platforms
Versions
To Reproduce
Expected behavior
Pressing the return key in the TextField should not trigger the parent container's clickable, and a line break should occur within the TextField.
Screenshots
android.mp4
Additional context
This behavior was observed on a Pixel 7a running Android 14. It is unknown whether the same behavior occurs on other devices or OS versions.
A reproducible project is available at https://github.com/blackcat-carnival/compose-bugreport-202404-02
The text was updated successfully, but these errors were encountered: