react-native-largelist icon indicating copy to clipboard operation
react-native-largelist copied to clipboard

Correct onScroll throttling

Open zzorba opened this issue 3 years ago • 0 comments

Problem I observed is detailed here: https://github.com/bolan9999/react-native-largelist/issues/466

This PR corrects the logic in two ways:

  1. Changes the throttle to compare numbers in correct direction, before the if condition was always false.
  2. Start utilizing the updateTimeInterval prop which was previously being ignored throughout the code.

Wasn't totally sure about number 2, but my read was this was the logical place to control that logic.

zzorba avatar Dec 02 '21 21:12 zzorba