Shopify / Shopify/flash-list

Pull to refresh on the bottom

Open
#2,019 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
7.2k
Forks
393
Avg merge
1d 3h
Merged PRs (30d)
1

Description

Problem Statement

Previously when using inverted mode the pull to refresh was also at the bottom. When using maintainVisibleContentPosition that isn't the case anymore. In a messaging layout where the messages build from the bottom it doesn't make sense to refresh at the top.

Proposed Solution

If startRenderingFromBottom is set to true, I also think it makes sense for the onRefresh/ refreshing to be at the bottom.

Priority

  • Medium - Would be nice to have

Checklist

  • I've searched existing issues and discussions
  • I've provided clear use cases for this feature
  • I'm willing to help test this feature if implemented

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how FlashList handles startRenderingFromBottom, inverted mode, and the onRefresh/refreshing props. Reproduce a messaging layout using maintainVisibleContentPosition, then verify that enabling startRenderingFromBottom places pull-to-refresh at the bottom without breaking refresh behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.