In a Compose form:
• you're editing text w/ the virtual keyboard which overlays the form (window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING) is set)
• you lock the phone by pressing the power button
• you unlock the phone
• the virtual keyboard pushes content up instead of overlaying the form
Is this expected behavior? I.e., is there any way to keep the virtual keyboard over the form when it comes out of lock mode?
The keyboard is closed automatically when you switch to other apps. This only happens w/ the lockscreen.
Thought we could just use Modifier.onFocusChanged{} to hide the virtual keyboard as a workaround, but the event never gets called because technically, you're not losing focus to a lock screen...