Skip to content

Commit

Permalink
InputField keyHandler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baec23 committed Jan 25, 2023
1 parent f8738aa commit 1248f8e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fun InputField(
keyEvent = it,
focusManager = focusManager,
isSingleLine = singleLine,
inputValidator
inputValidator = inputValidator
)
},
value = value,
Expand Down Expand Up @@ -220,9 +220,10 @@ private fun handleKeyEvent(
if (!result) {
focusManager.clearFocus()
}
return true
}
}
}
}
return true
return false
}

0 comments on commit 1248f8e

Please sign in to comment.