Guttorm
(Guttorm Vik)
1
If I open the context menu on the first row in my grid I get:
and if I open it on the last row I get:
Looks like the height is the same, but it wraps some of the entries.
I did try white-space: nowrap; but that didn’t look good either:
I should add that when I open the menu on the last row, there is not enough room below it, so it gets pushed up.
Guttorm
(Guttorm Vik)
2
As the context menus gets taller, I think they seem too narrow as well.
Adding this gives a more pleasing size, and it works around the issue:
vaadin-context-menu-list-box {
width: 35ch;
}
Not sure it will work in all cases though, so would still like it to work sensibly out of the box.