55427566b6
Summary: Hello, This PR adds a property to the `ListView` to enable and disable to sticky sections headers behaviour. Current this is enabled by default and there is no way to disable it. It has been previously discussed in #1974 where there was a suggestion to add the `ListView` inside `ScrollView`. This is bad for performance, but some people were using that as a workaround. satya164 suggested someone submitting a PR, which is why I'm here 😉 I have tested the property manually by adding `stickySectionHeaders={false}` to the `<ListView> Paging` example in `UIExplorer`. I have also tested that the current behaviour still stands, so this is a non-breaking change. I have also checked that the website displays the new documentation. I couldn't see anywhere to add automated tests to this, but if there is feel free to point it out and I'll update this PR. I tried running `npm run lint` to check the code style, but it spat out loads and loads of errors. I presume I have something set up incorrectly. Feel Closes https://github.com/facebook/react-native/pull/11700 Differential Revision: D4380916 fbshipit-source-id: 7782043afc9f0108c81f97952fed60b153479cac |
||
---|---|---|
.. | ||
ListView | ||
NavigationExperimental | ||
Navigator | ||
LICENSE |