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

Fix keyboard handling in landscape #1075

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BB9z
Copy link
Contributor

@BB9z BB9z commented Feb 18, 2021

I write a simple demo to reproduce the issue. https://github.com/BB9z/SVProgressHUD/tree/keyboard-demo

Screen.Recording.2021-02-18.at.15.23.54.mov

As you can see, the hud has a wrong position adjustment when keyboard shown.

https://github.com/BB9z/SVProgressHUD/tree/keyboard-demo-fixed - contains the fixes result.

The keyboard frame is already rotated for many years. I remember that a long time ago it did need to be handled manually, maybe it’s not needed since iOS 6 or 7.

@BB9z BB9z changed the title Fixed the layout problem in landscape mode. Fix keyboard handling in landscape Feb 18, 2021
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

Successfully merging this pull request may close these issues.

None yet

1 participant