lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 497 forks source link

inputaccessoryview is not working when accessibility is ON in iOS #481

Open satya-imaginea opened 2 years ago

satya-imaginea commented 2 years ago

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:

  1. Turn ON accessibility in iOS device
  2. Click on the dropdown to select an option
  3. focus on the up and down arrows to change the selected option
  4. 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

Reproduction and/or code sample

import RNPickerSelect from 'react-native-picker-select';

<RNPickerSelect
          onValueChange={withEventTracker(props.onValueChange)}
          value={props.value}
          items={props.items}
        />