forked from github/wulkanowy-mirror
Hide keyboard on opening login host dropdown (#1455)
This commit is contained in:
parent
57d11e825b
commit
4aa6b0b995
@ -81,6 +81,9 @@ class LoginFormFragment : BaseFragment<FragmentLoginFormBinding>(R.layout.fragme
|
|||||||
loginFormRecoverLink.setOnClickListener { presenter.onRecoverClick() }
|
loginFormRecoverLink.setOnClickListener { presenter.onRecoverClick() }
|
||||||
loginFormRecoverLinkSecond.setOnClickListener { presenter.onRecoverClick() }
|
loginFormRecoverLinkSecond.setOnClickListener { presenter.onRecoverClick() }
|
||||||
loginFormPass.setOnEditorDoneSignIn { loginFormSignIn.callOnClick() }
|
loginFormPass.setOnEditorDoneSignIn { loginFormSignIn.callOnClick() }
|
||||||
|
loginFormHost.setOnFocusChangeListener { _, hasFocus ->
|
||||||
|
if (hasFocus) requireActivity().hideSoftInput()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
with(binding.loginFormHost) {
|
with(binding.loginFormHost) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user