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 Toolbar focus events with native elements #5463

Closed
wants to merge 1 commit into from

Conversation

snowystinger
Copy link
Member

@snowystinger snowystinger commented Nov 22, 2023

Closes #5457

I'm not convinced this is the correct way to handle this, or if this is even a use case we should support. Should we only be supporting components written using React Aria hooks inside of a Toolbar? This may be a slippery slope.

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@devongovett devongovett force-pushed the main branch 2 times, most recently from 8cb1a5d to 3013156 Compare July 23, 2024 22:43
@devongovett devongovett force-pushed the main branch 2 times, most recently from a79adcf to 3013156 Compare September 30, 2024 21:00
@snowystinger
Copy link
Member Author

closing in favor of some upcoming work

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.

[useToolbar] Two toolbar items receive focus event, instead of one.
1 participant