We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library version: 1.1.1 OS version: iPhone 11, iOS 16.6
When I pull down to make pull refresh visible, then I release the touch. The animation of the pull to refresh control behind the Header.
The pull to refresh control should be visible and bottom of the header
const [isRefresh, setRefresh] = useState(false);
const handleRefresh = useCallback(async () => { setRefresh(true); }, []);
<StickyHeaderFlatList numColumns={3} ref={flatListRef} data={data} renderHeader={() =>
The text was updated successfully, but these errors were encountered:
Hi, any update on this issue? Thanks,
Sorry, something went wrong.
x2 Hi, any update on this issue? Thanks,
Same issue here. It is because the refresh indicator is under the renderTabs. The way is fixed it is by doing this :
renderTabs
<RefreshControl style={{ zIndex: 1 }} title="Refreshing..." colors={[color.brandPrimary]} progressViewOffset={175} refreshing={isLoading} onRefresh={refreshPublicStores} />
Set your progressViewOffset depending on the height of your tabs
progressViewOffset
No branches or pull requests
Environment
Library version: 1.1.1
OS version: iPhone 11, iOS 16.6
Affected platforms
Current behavior
When I pull down to make pull refresh visible, then I release the touch.
The animation of the pull to refresh control behind the Header.
Expected behavior
The pull to refresh control should be visible and bottom of the header
Reproduction
const [isRefresh, setRefresh] = useState(false);
const handleRefresh = useCallback(async () => {
setRefresh(true);
}, []);
<StickyHeaderFlatList
}numColumns={3}
ref={flatListRef}
data={data}
renderHeader={() =>
refreshing={isRefresh}
onRefresh={handleRefresh}
renderTabs={() => (
)}
renderItem={({ item }) => (
)}
keyExtractor={(item: { name: string }) => item.name}
onEndReached={loadMoreData}
scrollEventThrottle={16}
/>
The text was updated successfully, but these errors were encountered: