Skip to content

Commit

Permalink
fix(android): keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
lodev09 committed Apr 7, 2024
1 parent 054fa5e commit 0e725a3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ class TrueSheetDialog(
// Setup window params to adjust layout based on Keyboard state.
window?.apply {
// SOFT_INPUT_ADJUST_RESIZE to resize the sheet above the keyboard
// SOFT_INPUT_STATE_HIDDEN to hide the keyboard when sheet is shown
setSoftInputMode(
WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE
or WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN
)
}
}
Expand Down

0 comments on commit 0e725a3

Please sign in to comment.