Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore focus when activating a view #387

Open
danielwiehl opened this issue Dec 2, 2022 · 0 comments
Open

Restore focus when activating a view #387

danielwiehl opened this issue Dec 2, 2022 · 0 comments

Comments

@danielwiehl
Copy link
Collaborator

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

When activating a view, the most recently active element is not focused.

Describe the solution you'd like

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

How to reproduce

  1. Open a view (view 1)
  2. Open another view (view 2)
  3. Focus element in view 2
  4. Activate view 1
  5. Activate view 2
  6. The focus should be restored in view 2

Scope

Restoring focus should work in both workbench and microfrontend views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant