Spencer Ahrens 500dd2cff3 Fix bug with sticky headers that listen to onLayout
Summary:
Wrapping them in ScrollViewStickyHeader broken the onLayout and would always give y = 0
because it is now relative to the wrapper.

This uses some not-so-great react magic, but fixes the bugs with no aparent side-effects.

Note we also need to kill the StaticRenderer wrapper that ListView introduces. I think this was
probably a premature optimization anyway since there are usually not many headers and they are
usually pretty cheap to render. If people care, they can use `shouldComponentUpdate` with the
rendered components.

Reviewed By: yungsters

Differential Revision: D4654622

fbshipit-source-id: 1ea557ef64327d1f4df53b22fedd678da1549288
2017-03-03 20:15:38 -08:00
..
2017-02-21 09:11:01 -08:00
2016-12-07 17:13:42 -08:00
2017-02-24 13:01:34 -08:00
2017-02-27 14:04:57 -08:00
2017-01-31 11:58:30 -08:00
2017-03-02 07:47:21 -08:00
2016-11-02 12:29:15 -07:00
2017-02-14 20:00:34 -08:00
2016-08-09 06:43:46 -07:00
2017-03-01 17:55:30 -08:00
2017-01-31 11:13:50 -08:00
2016-11-23 11:28:29 -08:00
2017-02-21 15:18:40 -08:00
2017-02-24 07:00:16 -08:00