freshOS / KeyboardLayoutGuide

⌨️ KeyboardLayoutGuide, back from when it didn't exist.
MIT License
1.19k stars 60 forks source link

Keyboard dismiss mode is interactive #35

Closed atlant04 closed 2 years ago

atlant04 commented 4 years ago

Layout guides are not updated if dismiss mode is interactive, is there a way to fix this?

HarrisonXi commented 3 years ago

Keyboard notification does not work when the keyboard changing position. Need hack something to fix the guide for interactive dismiss mode.

For example: Add a inputAccessoryView and observer its position.

s4cha commented 2 years ago

@atlant04 Looks more like an Apple issue than a library issue. Just checked and keyboardWillChangeFrameNotification is only called after we let go of the scroll. One possible solution would be to use an inputAccessoryView as suggest by @HarrisonXi and in the answer : https://stackoverflow.com/questions/48338709/cant-get-keyboard-height-when-using-interactive-keyboard-dismissal

If you ever find a solution, please reopen this issue, closing this for now.