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

Switching between UITextField/UITextView with different UITextAutocorrectionType (i.e. Suggestions bar) causes gap between keyboard and attached view #89

Open
ghost opened this issue May 13, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented May 13, 2015

I discovered that when I change from one UITextField / UITextView to another that has a diferrent UITextAutocorrectionType, the keyboard frame size seems to be invalid causing the 'attached view' to have a gap and/or move under the keyboard.

Example:
Message bar UIView that is attached to the 'addKeyboardPanningWithFrameBasedActionHandler' has the default for UITextAutocorrectionType (i.e. enabled)
Another textview at top of view has 'UITextAutocorrectionType.No' (i.e. disabled)
Switching from the message bar to the other textview keeps the keyboard in place, but then hide the suggestions and does NOT move the message bar down to fill the now empty gap. Even dismissing the keyboard and trying to open it back up for the message bar causes this gap to remain.

@ghost ghost changed the title Keyboard Suggestions causes bad frame size Switching between UITextField/UITextView with different UITextAutocorrectionType (i.e. Suggestions bar) causes gap between keyboard and attached view May 13, 2015
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

0 participants