Menu with a “within” embeddedComponent grows on every resize

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

hi Claudio, thanks for the report - this has been fixed for tomorrow’s builds, dated September 26 and later.

SmartClient Version: v13.1p_2026-09-26/AllModules Development Only (built 2026-09-26)

Hi, I still see the issue in the latest 13.1 build

Apologies, the fix did hit 15.0 but wasn’t yet ported. We’ll do it before today’s builds run.

SmartClient Version: v13.1p_2026-09-27/AllModules Development Only (built 2026-09-27)

Thanks, I see the fix for the menu, but now I see this effect on the embedded DynamicForm, am I missing some setting to avoid it, or is it something that can be fixed in the framework?

Registrazione schermo 2026-09-27 alle 14.50.00.gif

Thanks for the follow up - that’s a genuine regression from the previous fix.

We’ve fixed it for tomorrow’s builds.

SmartClient Version: v13.1p_2026-09-28/AllModules Development Only (built 2026-09-28)

I see it’s fixed, thank you very much.