react-native-looped-carousel icon indicating copy to clipboard operation
react-native-looped-carousel copied to clipboard

Remove warning "scrollEventThrottle" from iOS

Open matheushf opened this issue 7 years ago • 1 comments

When using on iOS it throws a warning:

You specified `onScroll` on a <ScrollView> but not `scrollEventThrottle`. You will only receive one event. Using `16` you get all the events but be aware that it may cause frame drops, use a bigger number if you don't need as much precision.

Just setting it to 0 the default value, takes the warning away and everything remains as normal

matheushf avatar Oct 25 '18 19:10 matheushf

👍

RodolfoGS avatar Nov 09 '19 19:11 RodolfoGS