-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
Pillar: Technical Debtarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onehelp wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issue
Milestone
Description
This code isn't working with Blazor Wasm .Net 5.0, even though it is clearly supposed to be supported in this list:
https://docs.microsoft.com/en-us/aspnet/core/blazor/components/event-handling?view=aspnetcore-5.0#event-arguments
@page "/"
<h1>Event Testing</h1>
<p @onpointerenter="() => { pointerentered = true; }" @onpointerleave="() => { pointerentered = false; }" >Pointer Enter and Exit events!</p>
@if (pointerentered)
{
<p>Tooltip!</p>
}
@code {
bool pointerentered;
}
The text, "Tooltip!" should be appearing when the user cursor enters the paragraph, but it isn't.
If you switch out the event with "onpointerover/out" or "onmouseover/out" it works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Pillar: Technical Debtarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onehelp wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issue