Toolbelt.Blazor.HotKeys2 icon indicating copy to clipboard operation
Toolbelt.Blazor.HotKeys2 copied to clipboard

Notifications and loading spinners are not being shown when actions invoked via hotkey (DevExpress XAF)

Open b2k opened this issue 10 months ago • 3 comments
trafficstars

I am using your library along with the DevExpress XAF framework to add hot key support to my Server-side Blazor application. Thank you for your wonderful library. The reason I'm adding this issue is that I'm hoping you have some ideas to help me.

When I click on an action on the page, the XAF framework displays notifications and loading spinners. But when I press the hot key, the action gets triggered, but the notifications and loading spinners do not show up. I describe the problem in more detail here on Stack Overflow: Notifications are not being shown when actions invoked via hotkey

b2k avatar Jan 07 '25 14:01 b2k

(*Copy from: https://github.com/jsakamoto/Toolbelt.Blazor.HotKeys/issues/28 )

jsakamoto avatar Jan 07 '25 23:01 jsakamoto

@b2k If you provide me with a small sample project that reproduces the problem, I might be able to investigate it.

jsakamoto avatar Jan 07 '25 23:01 jsakamoto

The issue was due to Dev Express architecture that I was able to workaround by triggering a javascript click event on the DOM element when the hotkey was pressed, instead of invoking the blazor action directly.

b2k avatar May 09 '25 17:05 b2k