Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: indicator glitch because scrollX was being reset (#131)
In reanimated 2 rc.0, useSharedValue actually recomputes the value and acts as useDerivedValue unless false is passed to the second parameter. This can cause a glitch in the indicator mid-snap if the container needs to re-render, because scrollX will be briefly reset to a full snapped position.
- Loading branch information