hoaphantn7604 / react-native-element-dropdown

A react-native dropdown component easy to customize for both iOS and Android.
MIT License
1.01k stars 173 forks source link

Is it possible to customize the `accessible` attribute of `TouchableWithoutFeedback` in `MultiSelectComponent` -> `_renderModal`? #292

Open renjieguo927 opened 3 months ago

renjieguo927 commented 3 months ago

Description:

When using the MultiSelectComponent, we noticed that it is wrapped inside a TouchableWithoutFeedback component. By default, the accessible attribute of the TouchableWithoutFeedback component is set to true, which prevents access to its internal elements on iOS through XCUITest. This makes it impossible for us to locate the internal elements during automated testing. Could we customize the accessible attribute on the TouchableWithoutFeedback component? Setting the accessible attribute to false would resolve this issue for us.

Code path​:

react-native-element-dropdown -> src -> components -> MultiSelect -> index.tsx -> MultiSelectComponent -> _renderModal -> TouchableWithoutFeedback

WANG-Lisa commented 1 month ago

Any update about this issue? @hoaphantn7604 @myou11