Set position of kendo-menu-item?

0 Answers 39 Views
Menu
Philip
Top achievements
Rank 1
Iron
Philip asked on 23 Jan 2023, 04:31 PM

I have a kendo-menu in the upper right corner of the window. When the menu items are pulled down, there is an ugly moment where the menu seems to be partially offscreen, the scrollbar appears and then the menu shifts back on screen and the scrollbar disappears. I was wondering if I could fix this by forcing the menu to appear onscreen. I don't see anything in the api to set the initial position.

Georgi
Telerik team
commented on 26 Jan 2023, 02:19 PM

Hello Philip,

Thank you very much for the information provided.

This undesired behavior of the Menu component's popup has previously been reported to us and is a bug that we are aware of. Our designated development team is working on fixing it. 

In the meantime, what I could suggest as a workaround is for the developer to modify the animate property of the Menu component. To better illustrate his approach, I am sending you a StackBlitz demo that implements it: 

https://stackblitz.com/edit/angular-pnncmp-wv3klr?file=app%2Fapp.component.ts

I hope this helps.

Regards,

Georgi

Progress Telerik

No answers yet. Maybe you can help?

Tags
Menu
Asked by
Philip
Top achievements
Rank 1
Iron
Share this question
or