A
A
ajlee42021-01-29 00:59:09
React Native
ajlee4, 2021-01-29 00:59:09

Horizontal scroll FlatList not working inside TouchableHighlight?

Please tell me why it does not work and how can I avoid this problem? if I change TouchableHighlight to View, the scroll works.

<TouchableHighlight>
<ElList
         horizontal
         data={serviceImages}
         renderItem={renderItem}
   />
</TouchableHighlight>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Makarov, 2021-03-13
@kirbi1996

Try to throw a sheet zIndex

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question