-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Blur event on ion-input is not fired #5487
Comments
Is this in Ionic1 or Ionic2? |
Ionic2.
|
Here is a current work around for "blur". Use "focusout" or "mouseleave". Those are both working. |
Are you sure this issue is closed ? I have the same bug in 2.1.0. This line doesn't fire the function: But this one does: Tested on Chrome. |
@Gp2mv3 I'm not seeing any issues using either |
@brandyscarney I'm using ionic-angular 3.5.0, and can confirm that neither (blur) nor (focus) events are fired properly still. (focusout) does work though, even the docs state clearly that (blur) and (focus) are the appropriate events. What worked for me: |
|
This worked for me. |
How to blur an ion-input programmatically? |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
<ion-input type="text" (blur)="eventHandler()"> does not fire the eventHandler on blur.
Blur and other events should be bubbled to the parent container to allow for more complex interactions
The text was updated successfully, but these errors were encountered: