stavroskasidis/BlazorContextMenu

Don't require constant keydown - behave more like a standard context menu

Webreaper opened this issue · 4 comments

I just added this to my project, and it's awesome, thanks!

The only downside is that if you click, and then let go, the menu disappears. Standard context menus should only dismiss when I select a menu item, or click outside the menu. The current behaviour makes it a bit awkward for use with a touchpad.

Is there an option to change this behaviour?

Actually, upon more testing it seems to work like this sometimes, but isn't always reliable. So perhaps it's a bug not a feature. :)

It does sound like a bug. Can you provide a sample project that reproduces it ? Also what browser/version are you using etc.

I don't have a sample for now, it's part of a major app that I'm not able to open-source. I think it may be related to adding the menu to a scrolling virtual grid of objects, so might be very edge-case.

I'll post something if/when I can.

Closing since no activity. Please reopen/comment if you have a reproducing sample