mirror of
https://github.com/react/react-native.git
synced 2026-10-02 18:09:53 +08:00
774442efd28ffc4b8a52e7827d46ffedd83e1ab4
scrollWithoutAnimationTo method for ScrollViews
Summary: Implementing the consensus approach from the comments on this PR: https://github.com/facebook/react-native/pull/486 We use a boolean flag in the Obj-C code to determine whether to animate or not, and then provide two public JS functions that call the Obj-C with or without the flag. Closes https://github.com/facebook/react-native/pull/509 Github Author: Charlie Cheever <ccheever@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
Languages
C++
34.7%
Kotlin
21.9%
JavaScript
19.8%
Objective-C++
9.7%
Objective-C
5.4%
Other
8.4%