You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (key === 'Enter') {
event.currentTarget.blur()
return
}
I'm not sure why an input field should ever blur itself, as opposed to letting some other code change the focus. If you really want to blur it on enter, you could do it in onKeyDown. But there's currently no way to override this built-in behavior.
The text was updated successfully, but these errors were encountered:
I see this code in the
raw-textbox.tsx
:I'm not sure why an input field should ever blur itself, as opposed to letting some other code change the focus. If you really want to blur it on enter, you could do it in
onKeyDown
. But there's currently no way to override this built-in behavior.The text was updated successfully, but these errors were encountered: