aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Replace "instanceof" due to DOM realm mixin when Blazor is IFRAME-d

Open GStoynev opened this issue 8 months ago • 4 comments

When the Blazor page is in an IFRAME in Chrome (or Edge), the Comments (and potentially other HTML elements) in the frame fail the instanceof test because they're instances of frame's parent's Comment.

Replacing instanceof with this prototype check fixes the issue.

Issue is documented here: https://github.com/dotnet/aspnetcore/issues/55107

Fixes #55107

GStoynev avatar Jun 21 '24 19:06 GStoynev