Relative Content

Tag Archive for javascriptmenuextjs7-classic

Ext JS Menu component not respecting maxSize property

In our user interface, we have a filter menu that could, potentially, contain enough filters that, if its height is not restricted, the menu would extend past the bottom of the screen. So, to that end, we set the menu’s maxHeight property to make the menu show a scroll bar when it gets that many entries in it. However, it doesn’t appear to be working. Even with the maxHeight property set, its height always goes to whatever it needs to show all of the entries at once, even if the height is greater than the maxHeight. The result is that the bottom entries of the menu are cut off and can’t be scrolled into view, as no scroll bar appears on the menu. How can this be fixed?

Ext JS Menu component not respecting maxSize property

In our user interface, we have a filter menu that could, potentially, contain enough filters that, if its height is not restricted, the menu would extend past the bottom of the screen. So, to that end, we set the menu’s maxHeight property to make the menu show a scroll bar when it gets that many entries in it. However, it doesn’t appear to be working. Even with the maxHeight property set, its height always goes to whatever it needs to show all of the entries at once, even if the height is greater than the maxHeight. The result is that the bottom entries of the menu are cut off and can’t be scrolled into view, as no scroll bar appears on the menu. How can this be fixed?