Repository navigation
fix(FocusScope): respect tabindex order on autofocus - #2765
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughFocusScope now sorts tabbable candidates by tabindex, placing positive values ahead of zero-tabindex elements. The dialog test adds mixed-tabindex focus targets and asserts the dialog opens with focus on the lowest positive tabindex element. ChangesTabindex focus ordering
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed: private package registry requires authentication. Disable ESLint in CodeRabbit settings or use public packages. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
Closes #2609
Description
Verification
Note: pnpm lint currently fails with an internal ESLint plugin error:
TypeError: sourceCode.isSpaceBetweenTokens is not a function.Summary by CodeRabbit
Bug Fixes
tabindexorder.Tests