-
Notifications
You must be signed in to change notification settings - Fork 932
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
Correction on blur event handler on iOS #46
Conversation
- Removing onBlur handler and reset function
Codecov Report
@@ Coverage Diff @@
## master #46 +/- ##
==========================================
- Coverage 18.55% 18.34% -0.21%
==========================================
Files 8 8
Lines 221 218 -3
Branches 46 45 -1
==========================================
- Hits 41 40 -1
+ Misses 140 139 -1
+ Partials 40 39 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thanks!
this.autocomplete.reset() | ||
} | ||
} | ||
|
||
reset = () => { | ||
moveCursorToTheEnd(this._inputNode) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@psicotropicos I think this was also supposed to be removed.
I tried this PR in a project and was unable to unfocus in Safari.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hah, yeah, maybe we should remove this call (and the method itself from utils because it's not used elsewhere).
Would you like to make that change @dashed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR @ #50
Removing onBlur handler and reset function