github openng-org/optimus-ui 2.2.1

one hour ago

✨ Highlights

A small maintenance release: two overlay/menu fixes and the workspace moved to Angular 22.3.

  • PanelMenu no longer destroys and re-creates every sub-list on a header click or navigation, which also removes the NG0956 warning in dev mode (#2233, @MeAkib)
  • Nested submenus are positioned correctly when the page is scrolled horizontally (#2180, @geromegrignon)
  • The library is now built and tested against Angular 22.3 (#2105)

⚠️ Upgrade notes

No breaking changes and no API changes. One behaviour to be aware of:

  • PanelMenu (#2233): sub-list entries are now tracked by their processed key, and root panels by item id when one is set (as Menu already does). Replacing the model with updated copies of the same items keeps the existing panels and their DOM instead of rebuilding them.

🐛 Bug fixes

Component Fix PR
DOM Position nested submenus in viewport coordinates, so they no longer flip or shift when the page is scrolled horizontally #2180 @geromegrignon
PanelMenu Keep the sub-list DOM when items are re-processed (fixes #2221) #2233 @MeAkib

📦 Dependencies

Thanks to @MeAkib and @ThorstenKunz for their contributions to this release 🙌

Full Changelog: 2.2.0...2.2.1

Don't miss a new optimus-ui release

NewReleases is sending notifications on new releases.