Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30349

React Native (Android) not sensing my Touchable component absolute positioned above a TextInput

$
0
0

I have created a custom 'Autocomplete' component that has a TextInput and an absolute positioned dropdown that triggers when you type certain characters in it. In the dropdown, there are list items that are touchable and should trigger a function to fill the TextInput when pressed on.

On the screen component, I have included this 'Autocomplete' component four times. When I trigger the dropdown and try pressing on one of those list items within it, its like it ignores the dropdown completely and just lets me focus into the next 'Autocomplete' component's TextInput that is actually layered below the dropdown.

My code works perfectly fine on iOS devices but on Android, it has presented problems.

Would anyone have a solution for this?


Viewing all articles
Browse latest Browse all 30349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>