Manojna Chintapalli
01/14/2022, 12:05 AMAlert Dialog
when I enter an invalid email address, as I click on Continue button the keyboard is dismissed and Alert Dialog
is also displayed, but the position of the Alert Dialog
starts above the center of the screen and moves to the Center as the keyboard is sliding down to be dismissed. How can I always position it to center?mattinger
01/14/2022, 12:20 AMval keyboardController = LocalSoftwareKeyboardController.current
Button(onClick = {
keyboardController.hide()
dialogVisible.value = true
}) { ... }
mattinger
01/14/2022, 12:22 AMManojna Chintapalli
01/14/2022, 8:01 PM