We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7a2e3 commit 39a540eCopy full SHA for 39a540e
ccp/src/main/java/com/togitech/ccp/component/TogiCountryCodePicker.kt
@@ -181,7 +181,11 @@ fun TogiCountryCodePicker(
181
)
182
onValueChange(country.countryPhoneCode to phoneNumber.text, isNumberValid)
183
keyboardController?.hide()
184
- focusRequester.freeFocus()
+ try {
185
+ focusRequester.freeFocus()
186
+ } catch (exception: IllegalStateException) {
187
+ Log.e(TAG, "Unable to free focus ${exception.stackTrace}")
188
+ }
189
},
190
focusRequester = focusRequester,
191
0 commit comments