Skip to content

Fix keyboard handling in landscape#1075

Open
BB9z wants to merge 1 commit intoSVProgressHUD:masterfrom
BB9z:fix/keyboard-position
Open

Fix keyboard handling in landscape#1075
BB9z wants to merge 1 commit intoSVProgressHUD:masterfrom
BB9z:fix/keyboard-position

Conversation

@BB9z
Copy link
Copy Markdown
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.

1 participant