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

fix: override tabindex attribute and default to 0 #32007

Merged

Conversation

chrisdholt
Copy link
Member

Previous Behavior

New Behavior

Related Issue(s)

  • Fixes #

@chrisdholt chrisdholt requested a review from a team as a code owner July 15, 2024 23:00
@fabricteam
Copy link
Collaborator

fabricteam commented Jul 15, 2024

📊 Bundle size report

✅ No changes found

@radium-v
Copy link
Contributor

This causes the tabindex="-1" to persist when disabled is toggled:

  1. Instantiate a <fluent-button>
  2. Add the disabled attribute. Observe that the tabindex attribute is changed to -1.
  3. Remove the disabled attribute. Observe that the tabindex attribute value doesn't update.

@chrisdholt chrisdholt force-pushed the users/chhol/fix-tabindex-fix-doh branch from da657b2 to a510873 Compare July 15, 2024 23:08
@chrisdholt chrisdholt enabled auto-merge (squash) July 15, 2024 23:28
@chrisdholt chrisdholt merged commit 7a1434a into microsoft:master Jul 15, 2024
16 of 18 checks passed
@chrisdholt chrisdholt deleted the users/chhol/fix-tabindex-fix-doh branch July 15, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants