react-native/Libraries/Components/ScrollView
Neo 872fbc27fe fix stickySectionHeader re-render issue
Summary:
Close #13500

I've been bothered by this issue for quite a long time, finally get some time to look into it.

I find the root cause is that after a prop of the native driven node is assigned with a plain value, if you set it to be a `Animated.Value` again , it will take no effect any more, so I just keep it be a `Animated.Value` all the time.

`value --> Animated.Value () --> value () --> Animated.Value ()`

ping janicduplessis
Closes https://github.com/facebook/react-native/pull/13885

Differential Revision: D5077094

Pulled By: javache

fbshipit-source-id: 3fb5d8196d94101200394b2bb2b95c776fb1d2f3
2017-05-22 03:30:27 -07:00
..
__mocks__ Include props in new ListView and ScrollView mocks 2017-01-12 10:58:29 -08:00
ScrollView.js Fix sticky headers when rerendering 2017-05-19 03:35:04 -07:00
ScrollViewStickyHeader.js fix stickySectionHeader re-render issue 2017-05-22 03:30:27 -07:00
processDecelerationRate.js Removed unnecessary exportedConstants 2016-03-10 10:21:34 -08:00