-
Notifications
You must be signed in to change notification settings - Fork 132
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
feat(core): dialog focus trap #12831
base: main
Are you sure you want to change the base?
Conversation
❌ Check the deploy log for errors here: https://app.netlify.com/sites/fundamental-ngx/deploys
|
Visit the preview URL for this PR (updated for commit 5d3fa9d): https://fundamental-ngx-gh--pr12831-12768-dialog-focus-i-b4yv1vvv.web.app (expires Sat, 11 Jan 2025 19:48:09 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff |
@dpavlenishvili @alexhristov14 can you review it? thanks |
dialogRef.afterClosed.pipe( | ||
takeUntilDestroyed(this._destroyRef) | ||
).subscribe(() => { | ||
console.log(dialogConfig.focusTrapped); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove console.log
closes #12768
Ensure the button does not lose focus after the dialog is closed, improving usability and navigation flow.
Uploading Screen Recording 2024-12-09 at 13.36.32.mov…