Skip to content

v2.1.3 - Popovers follow their anchor inside scrollable containers, plus four finance glyphs

Choose a tag to compare

@Banzamel Banzamel released this 04 Aug 06:41
· 25 commits to main since this release

Patch release. One real bug fix that quietly affected every floating layer in the framework, and four new icons. Nothing to change on your side — pull 2.1.3 and both land automatically.

What changed

  • Fixed: dropdown menus, select and autocomplete panels, and the MTimelineBoard event kebab could come unstuck from the control that opened them. MPopover only ever watched the window for scrolling, so if your layout scrolls an inner region instead of the page — an app shell with a scrolling main area, a sticky panel, a card with overflow — the panel stayed frozen where it opened while its trigger moved away underneath. The symptom rarely looked like a positioning bug: the menu ended up far enough from the trigger that clicking an item landed outside the panel, which closed it without firing anything. "The menu item does nothing" was usually this.
  • The listener now runs in the capture phase on the document, so scrolling from any ancestor repositions the layer — the page included. Every component built on MPopover picks it up: MDropdownMenu, MTimelineBoard, MCalendarBoard, MSidebar, MTopbar, MFileManager, MStickyPanel, MCardTile and the rest. No code changes needed in your app.
  • Four new finance glyphs join the classic icon set: MWalletIcon, MCoinIcon, MMoneyIcon and MReceiptIcon. They complete the family alongside the existing MBankIcon and MCreditCardIcon, and behave like every other glyph — size, color, and currentColor inheritance — so they drop straight into startIcon / endIcon slots, headings and list rows. Payments, invoices and billing screens no longer have to fall back on an image.