SmartClient Version: v13.1p_2026-09-21/AllModules Development Only (built 2026-09-21)
Chrome on MacOS
Hi, I’ve got a Menu with an embeddedComponent. I just noticed that, when the Menu is taller than the page, it grows wider on every page resize after it has been shown once.
The issue seems to occur when a menu item contains a percentage-sized embeddedComponent with embeddedComponentPosition: “within”.
isc.DynamicForm.create({
ID: "searchForm",
autoDraw: false,
width: "100%",
height: 28,
minWidth: 200,
numCols: 1,
titleWidth: 1,
fields: [{name: "search", showTitle: false, width: "*", hint: "Search", showHintInField: true}]
});
var items = [{title: "search", embeddedComponent: searchForm, embeddedComponentPosition: "within", showRollOver: false}];
for (var i = 1; i <= 80; i++) items.add({title: "Menu item number " + i});
isc.Menu.create({ID: "testMenu", data: items});
isc.MenuButton.create({ID: "openButton", title: "Open menu", menu: testMenu});
steps to reproduce:
- open the Menu
- resize the browser window
- if the menu is open you’ll already see it grow in width, otherwise re-open it
