mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 04:07:27 +00:00
This lib will allow us to wait for a keyboard state change. Not waiting for the keyboard to be closed could cause issues when showing a modal at the same time on iOS for example. Example usage: - blurSomeInput() - await waitForClosedKeyboard(this) - showSomeModal() Note that this actual behavior has been baked in modals when we call show so you don't have to call the lib yourself.