-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.
Milestone
Description
Inside NavigationEnhancement.ts, the logic that decides whether to bypass enhanced nav based on the element clicked looks like:
if (event.target instanceof HTMLElement && !enhancedNavigationIsEnabledForElement(event.target)) {
return;
}It should say Element instead of HTMLElement, because HTMLElement excludes SVGElement. There is no reason why SVG elements should behave differently from HTML elements in this regard.
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.