Skip to content

Add focusOnClose modifier for the modal button#438

Merged
NullVoxPopuli merged 5 commits into
mainfrom
add-refocus-modifier
Mar 9, 2025
Merged

Add focusOnClose modifier for the modal button#438
NullVoxPopuli merged 5 commits into
mainfrom
add-refocus-modifier

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

When closing a modal, the button than opened the modal should be focused.

This is opt-in behavior via the {{m.focusOnClose}} modifier

@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Mar 9, 2025
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 9, 2025

Project Preview URL
Docs https://127f2ea3.ember-primitives.pages.dev

Logs

@NullVoxPopuli NullVoxPopuli merged commit 4c62392 into main Mar 9, 2025
@NullVoxPopuli NullVoxPopuli deleted the add-refocus-modifier branch March 9, 2025 17:50
@github-actions github-actions Bot mentioned this pull request Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant