-
Notifications
You must be signed in to change notification settings - Fork 133
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
✅ Deploy Preview for fundamental-ngx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Visit the preview URL for this PR (updated for commit 5992900): https://fundamental-ngx-gh--pr12831-12768-dialog-focus-i-wt09trbd.web.app (expires Mon, 23 Dec 2024 12:58:02 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…