Skip to content

Warn when refreshing a horizontal FlashList - #2555

Open
efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/flashlist-horizontal-refresh-2550
Open

efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/flashlist-horizontal-refresh-2550

Conversation

@efegokdemir

Copy link
Copy Markdown

Description

Fixes #2550. Add a development-only warning when the built-in refresh control is used with a horizontal FlashList, and document that the native control responds to vertical pulls rather than horizontal overscroll. The warning is skipped for custom refresh controls and appears once per list. All 15 Jest suites (202 tests), TypeScript, changed-file ESLint, Prettier and git diff --check passed.

Reviewers’ hat-rack 🎩

  • Check that the warning is limited to the built-in control on horizontal lists.

Screenshots or videos (if needed)

Not applicable; this change adds a warning and documentation.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

onRefresh on a horizontal FlashList is triggered by a vertical pull, not a horizontal one (v2)

1 participant