data-enhance-nav=false is ignored on <svg> elements #51440
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
Milestone
Inside
NavigationEnhancement.ts
, the logic that decides whether to bypass enhanced nav based on the element clicked looks like:It should say
Element
instead ofHTMLElement
, becauseHTMLElement
excludesSVGElement
. There is no reason why SVG elements should behave differently from HTML elements in this regard.The text was updated successfully, but these errors were encountered: