Skip to content

fix(dialog-close-focus): changed focus classes to focus-visible (SMALL FIX) #7445

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Joshua-hypt
Copy link
Contributor

@Joshua-hypt Joshua-hypt commented May 22, 2025

Problem:

Dialog close button gets a focus ring once you click to close the dialog. This should be set to focus-visible.

Changed utility classes from focus: to focus-visible:

Before

Screenshot 2025-05-22 at 16 25 58

After

Screenshot 2025-05-22 at 16 27 11
Screenshot 2025-05-22 at 16 27 50

Copy link

vercel bot commented May 22, 2025

@Joshua-hypt is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@Joshua-hypt Joshua-hypt changed the title fix(dialog-close-focus): changed focus classes to focus-visible fix(dialog-close-focus): changed focus classes to focus-visible (SMALL FIX) May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant