callstack / callstack/react-native-paper
new prop for List.Accordion to optionally expand upwards instead of downwards
- 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
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