robercoding
01/02/2023, 5:23 PMrobercoding
01/02/2023, 6:00 PMWindowInsets.isImeVisible
but this looks ugly in UX since the keyboard takes around 300ms to be hidden or more and I want functions to run immediately after pressing back wether the keyboard is up or notZach Klippenstein (he/him) [MOD]
01/02/2023, 8:19 PMZach Klippenstein (he/him) [MOD]
01/02/2023, 8:24 PMefemoney
01/02/2023, 8:51 PMrobercoding
01/02/2023, 9:52 PMjames
01/02/2023, 10:49 PMjames
01/02/2023, 10:51 PMrobercoding
01/03/2023, 3:48 PM⢠fires a function requesting keyboard hide
⢠while ime.getBottom > 0, keep looping with a delay of 1ms
⢠if we surpass 300ms, break out of the loop
⢠finally, fires a lambda callbackBut that's for listening to the end of an animation, I'd like to know when it starts the animation for cases that I can't control like: ⢠The Keyboard is up, the user presses back and the keyboard starts hiding For cases where I request the
keyboard?.hide()
I can manage it by myself since I already run the function along the keyboard?.hide()
Not sure if your workaround is the solution I'm looking forAlex Vanyo
01/04/2023, 9:58 PMefemoney
01/05/2023, 10:20 AMrobercoding
01/05/2023, 11:05 AM