-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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 inside form can cause "no event handler associated with this event" exception #21241
Comments
@SteveSandersonMS are there any plans to include this to release 3.2? |
Sorry, the deadline for that has already passed. We're really close to the 3.2 release now! |
EDIT: It's not unusual to receive a similar error to this for various events:
This can be caused by an error during render which means the element was bound to an event but the error prevented instantiation of the handler. |
I tried playing with this call before await JSRuntime.InvokeVoidAsync("document.activeElement.blur"); but it only worked the first time I saved my form |
Please notice there's the same issue also with @SteveSandersonMS |
Thanks for contacting us. |
@captainsafia the |
Scenario:
Pressing "enter" inside the
input
causes:Looks like the "navigate away" gets processed before the "blur", so the component has been disposed by the time we process its "blur" event handler.
The text was updated successfully, but these errors were encountered: