leecade / leecade/react-native-swiper

[All-iPhone-Device] Two photos are displayed in one picture in the Swiper

Open
#1,365 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Which OS ?
  • IOS
Version

Which versions are you using:

  • iPhone 14 and above
  • react-native-swiper v?
    1.6.0
  • react-native v0.?.?
    0.71.6
Expected behaviour
  • For Android devices, the transition between the images was smooth when I clicked prevButton or nextButton but it's not the same for IOS mobile devices.
  • It should show only one image in the swiper but it shows the two images.
  • As per my knowledge, when we add more images to Swiper it always pushes these images to the LHS.
Actual behaviour

Screenshot 2023-12-08 at 18 29 03

How to reproduce it>

To help us, please fork this component, modify one example in the examples folder to reproduce your issue, and include the link here.

Steps to reproduce
  1. Scan the images using a native camera and I am sending these scanned images to the Swiper component.
  2. When I click on the prevButton or nextButton button it's not showing the proper image(s) in the Swiper component.
  3. I've attached the screen shot.

Thank you for your time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Swiper component and the examples folder, reproducing the behavior on iPhone 14 or later with react-native-swiper 1.6.0 and React Native 0.71.6. Compare transitions triggered by prevButton and nextButton using the scanned images; done means the Swiper displays only the intended image during each transition.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.