react-native-component-inview icon indicating copy to clipboard operation
react-native-component-inview copied to clipboard

Not working on Android

Open jpmazza opened this issue 4 years ago • 4 comments

First of all, thank you for this library it's excellent!

On iOS is working properly but it does not work well on Android.

I have a scroll view with a list of videos and I'm playing a video only if it is inview.

On Android, all the videos are paused.

jpmazza avatar Aug 06 '20 19:08 jpmazza

I face the same issue today. I solve it by adding removeClippedSubviews={false} to InView

Yassir4 avatar Sep 21 '20 10:09 Yassir4

Adding collapsable={false} also works. Not sure if it's better than removeClippedSubviews.

aleciogomes avatar Nov 04 '20 15:11 aleciogomes

Adding collapsable={false} also works. Not sure if it's better than removeClippedSubviews.

Thanks that works just fine

AlvaroKore avatar Dec 09 '20 18:12 AlvaroKore

However I don't know why do add collapsable orremoveClippedSubviews ,those are useful.

yoursinger avatar Apr 26 '21 14:04 yoursinger