stavroskasidis/BlazorContextMenu

Scrolling Menu Items

Tonykidv2 opened this issue · 2 comments

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

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 ?

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.