janicduplessis/react-native-scrollable-header

refresh controller hidden behind header

Closed this issue · 2 comments

When implementing the basic refresh controller i'm hitting a 'bug' where the loading icon on ios and probably also on android are hidden behind the header. This seems te happen because the scrollview actually runs underneath the image and is offset by a margin. This margin however does not effect the refreshcontrol, putting the margin on the scrollview instead of its content seems bring the refreshcontrol down with it. However this breaks the rest the scrollable header.

I am also running into this issue, could you update this project to implement how we could use the onRefresh prop for the ListView please

There is a way to offset the refresh control, I'll update the example to include one.