Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
785
Menu items displayed with ScrollViewer
posted

Hi,

 

I'm using the XamWebMenu as a combo box with popup placement.

I bind the items content and it gets populated dynamically. All items are displayed nicely etc, no problem there.

 

What I noticed is that if I click on the menu right after it's loaded (when I only have 1 bound element) and then later on open it again (when there are plenty) I see scroll area appear.

If I only click on the menu when all items are loaded, there are no scroll areas.

 

Is it possible to "lock" the behaviour so that it doesn't change?

 

To illustrate what happens, here are a few screenshots.

 

Normal use (click after all items are there)

 

Issue (click when only 1 element is loaded and then click again when they're all there)

Notice the scroll areas at the bottom and top.