SchweizerischeBundesbahnen/scion-workbench

Allow sticking a popup to the right edge of the workbench viewport

danielwiehl opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

The Workbench allows a microfrontend to open a popup at a fixed position relative to the top/left origin of the workbench viewport. However, it is not possible to open the popup relative to the right or bottom edge of the viewport. This would be useful for contributing a popup menu to the shell menu bar at the right end. The popup menu should continue to stick to the contributed menu item when resizing the browser window.

Describe the solution you'd like

The Workbench Client API should provide options to specify the origin of the popup.