SchweizerischeBundesbahnen/scion-workbench

Restore focus when activating a popup

danielwiehl opened this issue · 0 comments

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

When activating a microfrontend popup, the most recently active element is not focused. For non-microfrontend popups, focus restoration works as expected. A popup can be "deactivated" when opening it in the context of a view and deactivating the view.

Describe the solution you'd like

When activating a microfrontend popup, the focus is restored to the last focused element of that popup.