You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kilbot
changed the title
(web)[TextInput]: autoFocus inconsistent when multiline is enabled
[TextInput]: autoFocus inconsistent when multiline is enabled
Sep 21, 2023
Is there an existing issue for this?
Describe the issue
Using
autoFocus
withmultiline
on the TextInput component either doesn't focus (Chrome) or sets the cursor at the start (Safari).Expected behavior
Cursor should jump to the end of text when
multiline
andautoFocus
enabled, ie: consistent with non-multiline behaviour.Steps to reproduce
Test case shows the difference for multiline behaviour.
Test case
https://snack.expo.dev/@kilbot/textinput-v-textarea-autofocus
https://codesandbox.io/s/rough-https-82vkcm
Additional comments
No response
The text was updated successfully, but these errors were encountered: