mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 22:44:22 +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.
Description
Languages
JavaScript
40.2%
Java
24.7%
Objective-C
14.3%
C++
13.5%
Objective-C++
3.9%
Other
3.3%