@onpointerenter and @onpointerleave not firing
Open
area-blazor
enhancement
help wanted
Pillar: Technical Debt
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
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](https://docs.microsoft.com/en-us/aspnet/core/blazor/components/event-handling?view=aspnetcore-5.0#event-arguments)
```
@page "/"
Event Testing
Pointer Enter and Exit events!
@if (pointerentered)
{
Tooltip!
}
@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.
Contributor guide
Assessment
This issue has not been assessed yet.