meliorence / meliorence/react-native-snap-carousel
ParallaxImage resizeMode stretch
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
When I use ParallaxImage with resizeMode stretch the image is getting cut off. If I replace ParallaxImage by Image it's working as expected
Parallax example: https://codesandbox.io/s/react-native-forked-gzvsn6?file=/src/styles.js:663-673
Image example: https://codesandbox.io/s/react-native-forked-ts29mx?file=/src/App.js
Any idea?
Contributor guide
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 with the linked ParallaxImage example, then compare it with the linked working Image example, focusing on the resizeMode: stretch behavior. Trace the ParallaxImage implementation and its related tests or examples, if present. Done means stretch displays the full image without the cutoff shown in the reproducer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100