leecade / leecade/react-native-swiper

Layout not fitting screen when orientation changed.

Open
#411 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

If I change the orientation in Iphone, the swiper won't view items as stretched. However when I reload as orientation changed, it fits the horizontal screen. How can I fix this?

  1. First Open
2017-05-14 2 57 59
  1. Orientation Changed
2017-05-14 2 57 52
  1. Reload after orientation changed
2017-05-14 2 58 49
  1. Rotate again to horizontal screen
2017-05-14 3 01 25

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 by reproducing the orientation change on an iPhone in the react-native-swiper project and inspect how the swiper handles layout after rotation. Done means the items fit the new horizontal or vertical screen immediately, without requiring a reload.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.