-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EditableText blur fires both onChange and onConfirm despite nothing changing #483
Comments
Yeah, this makes sense. This is relevant to #189 (the |
@jrafidi I'm reverting this change following the conversation in #573.
that being said, if you feel strongly about it, we can open another issue to see if introducing an |
@jrafidi would it be sufficient to only fire |
@leebyp Don't really feel strongly about it either way. @giladgray Sure seems fine to me. Contradicts @leebyp's point above regarding |
closing with #629 merged |
Bug report
Steps to reproduce
EditableText
with some content andonChange
/onConfirm
handlersEditableText
EditableText
Actual behavior
Without changing any of the content, the change/confirm handlers are called.
Expected behavior
Since nothing has changed, and nothing has been confirmed, I don't think it makes sense to call either of these handlers. Native inputs have
onBlur
, which I think would make more sense.The text was updated successfully, but these errors were encountered: