Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

fix: fix layout when starting in landscape #192

Merged
merged 2 commits into from
Oct 21, 2019

Conversation

gewfy
Copy link
Contributor

@gewfy gewfy commented Oct 12, 2019

Motivation

When starting the app in landscape mode and then switch to portrait the calculation of the tab bar dimensions are incorrect

Test plan

  1. Start the example app in landscape
  2. Turn the phone back to portrait
  3. Enter the "Bottom tabs" example

Result

IMG_5041

Expected

IMG_5039

Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@satya164 satya164 changed the title Fixes starting in landscape bug fix: fix layout when starting in landscape Oct 21, 2019
@satya164 satya164 merged commit b4f288f into react-navigation:master Oct 21, 2019
@tomek29k
Copy link

Have seen this broken in so many apps (actually a good measure to know if the app is written in RN 😝), thanks for the fix @gewfy 🙌🏻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants