callstack / callstack/react-native-paper

new prop for List.Accordion to optionally expand upwards instead of downwards

Open
#4,852 0 comments 0 reactions 0 assignees View on GitHub
feature request List
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

**Is your feature request related to a problem? Please describe.**
List.Accordion always expands downwards. It would be great to have a second option which is 'upwards'

**Describe the solution you'd like**
Introduce a new prop such as expandDirection = 'downwards' (default) | 'upwards'

**Describe alternatives you've considered**
none

**Additional context**
none

Contributor guide

Open the contributing guide

Research direction

Start by locating the List.Accordion implementation and its existing component tests, then trace how expansion currently determines layout direction. Done means the component accepts the requested direction option, preserves downward expansion by default, supports upward expansion, and has coverage for both behaviors.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.