react-native-picker-select
react-native-picker-select copied to clipboard
inputaccessoryview is not working when accessibility is ON in iOS
Describe the bug
When accessibility is ON on my iOS device, the input accessories are not working(the up and down arrows to switch the selected option and done buttons widget)
To Reproduce
Steps to reproduce the behavior:
- Turn ON accessibility in iOS device
- Click on the dropdown to select an option
- focus on the up and down arrows to change the selected option
- click on the arrows to change the option which is not working
Expected behavior
When we press the up and down arrows the selected option should change when voice over is ON
Screenshots
Turn on the speaker option from below recording option to listen to the accessibility announcements:
https://user-images.githubusercontent.com/76739349/167078438-dc951969-5ed5-43a5-970a-acb8156a4785.mov
Additional details
- Device: iPhone7
- react-native-picker-select version: ^1.8.3
- react-native version: 0.67.1
Reproduction and/or code sample
import RNPickerSelect from 'react-native-picker-select';
<RNPickerSelect
onValueChange={withEventTracker(props.onValueChange)}
value={props.value}
items={props.items}
/>