Shopify / Shopify/flash-list

Support for columnWrapperStyle

Open
#1,954 0 comments 1 reaction 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

I have a complex layout where i am rendering 2 columns of my product card and i have some components that i want to show above my list but whole screen need to be scrollable so kept them as ListHeaderComponent so if i want to apply styles only to my column items there is currently one way that is to use renderItem but that is not working efficiently as if i have to give padding to columns only that is not possible so i have to give style to each card

Proposed Solution

Example Usage
// Show how the feature would be used in code

Alternatives Considered

Priority

  • Critical - Blocking my project
  • [ . ] High - Significant improvement to my workflow
  • Medium - Would be nice to have
  • Low - Minor enhancement

Additional Context

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

No files, tests, or entry points are named. Start by locating FlashList's existing multi-column and item-style APIs, then compare their behavior with React Native's columnWrapperStyle. Done means a supported columnWrapperStyle applies styling to the columns without requiring styles on each card and preserves the scrollable list header.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.