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
When opening an action sheet with an input focused, selecting an option requires two taps, regardless of autoFocus setting.
I wonder if we need something here like React Native's ScrollView's keyboardshouldpersisttaps option so that tapping on the actionsheet does not interact with the keyboard or input.
The only way I have managed to mitigate this is by blurring the input myself before calling showActionSheetWithOptions
But it makes the UX a bit janky as the interface jumps around.
Without input being focused
Open actionsheet
First tap, selects the option
Screen.Recording.2021-09-13.at.16.18.19.mov
With Input focused - autoFocus: false
Open actionsheet, input still focused
First tap, blurs input and closes keyboard
Second tap, selects the option
Screen.Recording.2021-09-13.at.16.20.00.mov
With Input focused - `autoFocus: true
Open actionsheet: Nasty jump as auto focus causes the input to blur, closing the keyboard.
First tap, does nothing
Second tap, selects the option
Screen.Recording.2021-09-13.at.16.17.58.mov
`
The text was updated successfully, but these errors were encountered:
@bradbyte The iOS implementation seems a little more integrated with the keyboard.
It closes the keyboard, upon selecting or cancelling, the focus to the input is returned/retained.
When opening an action sheet with an input focused, selecting an option requires two taps, regardless of autoFocus setting.
I wonder if we need something here like React Native's ScrollView's
keyboardshouldpersisttaps
option so that tapping on the actionsheet does not interact with the keyboard or input.The only way I have managed to mitigate this is by blurring the input myself before calling
showActionSheetWithOptions
But it makes the UX a bit janky as the interface jumps around.
Without input being focused
Screen.Recording.2021-09-13.at.16.18.19.mov
With Input focused -
autoFocus: false
Screen.Recording.2021-09-13.at.16.20.00.mov
With Input focused - `autoFocus: true
Screen.Recording.2021-09-13.at.16.17.58.mov
`
The text was updated successfully, but these errors were encountered: