Skip to content

Keyboard frame is incorrect when switching between standard keyboard and a custom input view. #6

@sgtsquiggs

Description

@sgtsquiggs

Noticed this when I was using UIPickerViews as inputViews in a scrollview with normal UITextFields.

Expected:

Keyboard helper calculates the correct frame size no matter if it is the standard keyboard or a custom input view

Actual:

Keyboard helper calculates the correct frame size for the first keyboard/inputview displayed, but then uses the previously displayed keyboard/inputview frame for the next keyboard/inputview.

This does not persist between ViewControllers.

Steps to reproduce:

  • Create a view controller containing a scrollview with two UITextFields.
  • Set one textfield to use a UIPickerView as its inputView.
  • Enable KeyboardHelper for the view controller.
  • Note the incorrect frame being used via debugger

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions