-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When an hardware keyboard is connected (and the software one is hidden by the system), on iOS 13/15 there are
unexpected layout "jumps" of inputAccessoryView when switching between text fields with no keyboard and text fields with a custom inputView.
On iOS 14, the system call infinitely layoutSubviews leading to a frozen app.
To Reproduce
Steps to reproduce the behavior:
- Create a bunch of
SUITextField - Add custom
inputViewandinputAccessoryViewto some of them - Switch between text fields4.
Using a simulator, you can easily simulate an hardware keyboard.
Expected behavior
- The
inputAccessoryViewlayout shouldn't jump and should have correct height when switching between text fields. - Also, on iOS 14, it shouldn't re-layout infinitely.
Screenshots
Registrazione.schermo.2022-04-15.alle.14.47.59.mov
Device
- Device: both physical and simulator.
- OS: [iOS 13.x-15.x jump / iOS 14.x loop]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working