When triggering a mouse event from inside a razor file providing the dependency of MousePanelEvent results in the event not firing, it needs to be passed as a PanelEvent and then cast inside the function.
The events I've tried this on:
onclick
onmousedown
onrightclick
To Reproduce
See images provided
Expected behavior
The event should trigger if MousePanelEvent is provided as the dependency.
Describe the bug
When triggering a mouse event from inside a razor file providing the dependency of MousePanelEvent results in the event not firing, it needs to be passed as a PanelEvent and then cast inside the function.
The events I've tried this on:
onclick onmousedown onrightclick
To Reproduce
See images provided
Expected behavior
The event should trigger if MousePanelEvent is provided as the dependency.
Media/Files
Additional context
No response