Closed usrbowe closed 4 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/components/src/viewport/tracker/index.js | 0 | 3 | 0.0% | ||
<!-- | Total: | 0 | 3 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 459: | -0.3% |
Covered Lines: | 1207 |
Relevant Lines: | 1423 |
Hi, this pull request is rather unclean and I cannot accept it.
Add opt-out mechanism to not rely on
onScroll
prop, if we want to usereact-native-reanimated
withonScroll
to be assigned toevent
. I added internal method to update offset, which we can pass viaref
.Example of reanimated callback: