Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation Listener don't work #67

Open
BruceHammerTech opened this issue Feb 17, 2020 · 5 comments
Open

Orientation Listener don't work #67

BruceHammerTech opened this issue Feb 17, 2020 · 5 comments

Comments

@BruceHammerTech
Copy link

OrientationListener didn't do the job I believe

@dimps23
Copy link

dimps23 commented Feb 19, 2020

What do you mean by didn't do the job?

@antonogarkov
Copy link

@BruceHammerTech , if you want someone to help you then you have to provide at least some info about your case. Opening an issue just to open an issue is... at least depressing :)

@BruceSuperProgramer
Copy link

BruceHammerTech is one of my accounts. I opened this issue. The problem I found out is that even I have OrientationListener attach to the screen. The screen will not be responsive when I rotate the screen. For example, if <Box style={{width: wp('80%')}} /> . If I rotate it from landscape to portrait. The box component will exceed the screen.

@logicallydimp23
Copy link

@BruceSuperProgramer do you have sample project to reproduce your issue?

@BruceSuperProgramer
Copy link

Hi guys, I just tested the orientation feature from the example project listed in this git repository. I found that it looks like not working properly in the simulator because when we click rotate button on the simulator found the simulator rotated but the screen seems didn't responsive change to fit the orientation direction.
Screen Shot 2021-06-07 at 11 51 24 am

But if you test it again on an iPad real device, you will find it working perfectly. As this working on a real iPad, so I think it is not a bug. Please close this issue, thanks.

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

No branches or pull requests

5 participants