maxs15 / maxs15/react-native-modalbox
Specify initial height of opened modal
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 496
- PR merge metrics
- No merged PRs in 30d
Description
On both iOS and Android, the modal always opens in full screen mode even though coverScreen is set to false. Does the component currently allow specifying an initial opening height (e.g. I only want to open it half up the screen)?
I should be able to specify the initial height it slides to. If I drag it upwards it would then open full screen and in the opposite way it would close the modal.
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the modal component entry point and trace how coverScreen affects opening and drag behavior on iOS and Android. Determine how an initial opening height could be specified, then verify that the modal opens at that height, expands when dragged upward, and closes when dragged downward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100