bamlab / react-native-image-header-scroll-view

ScrollView with an image in header which becomes a navbar
MIT License
990 stars 94 forks source link

Can I set a refreshControl on the ScrollView that doesn't render inside the header? #57

Open nadeemmar opened 5 years ago

nadeemmar commented 5 years ago

I am trying to add pull to refresh functionality using RefreshControl as shown in this example: http://facebook.github.io/react-native/docs/refreshcontrol

The control appears inside the header instead of as part of the content itself even though the scroll view component has marginTop set to the current height of the header. I was wondering if anyone had any insight on how to achieve this?

Nhacsam commented 5 years ago

Sorry, I don't think you can because of the way the library works : https://github.com/bamlab/react-native-image-header-scroll-view/issues/6#issuecomment-320517228