BlazorContextMenu icon indicating copy to clipboard operation
BlazorContextMenu copied to clipboard

Scrolling Menu Items

Open Tonykidv2 opened this issue 1 year ago • 2 comments
trafficstars

I added a scroll bar to the context menu if too many items appear but when I try to navigate to the submenu it disappears as my mouse moves over to it. I'm not sure if I'm missing something with CSS or some other setting. The scrollable is within a div. the moment I remove it it works but I want a scrollable so the context menu doesnt get too long.

Animation2

Tonykidv2 avatar Mar 11 '24 15:03 Tonykidv2

This seems like a css question, which I am certainly not an expert on. Maybe add a max-height on the menu div with an overflow:auto ?

stavroskasidis avatar Mar 11 '24 17:03 stavroskasidis

is there a way to move the submenu towards the left so it covers the scrollbar?

Edit: I figured that out but it looks like there might be some other focusing issue with the div.

Tonykidv2 avatar Mar 11 '24 20:03 Tonykidv2