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
I'm experiencing an error when using the Piral Blazor converter with my application. The JavaScript console of my Chrome browser (version 130.0.6723.92) shows a repeated exception:
Uncaught ReferenceError: MutationEvent is not defined
at n.Vht (events.js:61:28)
at s.invokeTask (zone.js:402:33)
at i.runTask (zone.js:159:47)
at c.invokeTask [as invoke] (zone.js:483:34)
at y (zone.js:1138:18)
at w (zone.js:1169:29)
at n.x (zone.js:1202:16)
This error occurs over 763 times and even more frequently when I move the mouse around.
Steps to Reproduce
Run your application using the Piral Blazor converter.
Open the JavaScript console in Chrome (version 130.0.6723.92).
Observe the repeated exception messages with Uncaught ReferenceError: MutationEvent is not defined.
Expected behavior
I expect to see no errors or exceptions when running my application using the Piral Blazor converter.
Actual behavior
There is a huge amount of errors slowing my application down.
Possible Origin/Solution
Remove the check as the MutationEvent is no longer supported by modern browsers.
The text was updated successfully, but these errors were encountered:
Hi @dheid thanks for the report. Indeed the whole story around mutation events changed drastically this year (the mutation observer is out for a while - but now Chrome is aggressively pushing away the classic methods / events).
Thanks for the PR #725 - I think this is a suitable solution as our only aim is to properly forward the events (for this we use the list as found in the Blazor JS source code).
dheid
pushed a commit
to dheid/piral
that referenced
this issue
Nov 4, 2024
Bug Report
Prerequisites
Environment Details and Version
Description
I'm experiencing an error when using the Piral Blazor converter with my application. The JavaScript console of my Chrome browser (version 130.0.6723.92) shows a repeated exception:
This error occurs over 763 times and even more frequently when I move the mouse around.
Steps to Reproduce
Uncaught ReferenceError: MutationEvent is not defined
.Expected behavior
I expect to see no errors or exceptions when running my application using the Piral Blazor converter.
Actual behavior
There is a huge amount of errors slowing my application down.
Possible Origin/Solution
Remove the check as the
MutationEvent
is no longer supported by modern browsers.The text was updated successfully, but these errors were encountered: