meliorence / meliorence/react-native-image-gallery
Provide options for min/max zoom ratio
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 717
- Forks
- 298
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the image cannot zoom out smaller than the screen. It will bounce back to screen size. And the image also cannot zoom in bigger than zoom ratio 1. It will bounce back to zoom ratio 1.
I believe there are many situations that user may want to zoom in an image with a zoom ratio larger than 1, especially most mobile phones nowadays equip with very high pixel density screen. There are still too many details cannot be seen clearly when the zoom ratio = 1.0.
It would be wonderful if options can be provided to control min/max allowed zoom ratios just like many other similar libraries did. Thank you.
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 by locating the image gallery component's zoom-ratio handling and checking how the current screen-size and ratio-1 limits are enforced. Define configurable minimum and maximum zoom options, then verify that images can zoom within those bounds on the supported iOS and Android gallery behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100