-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: Remove activeDescendentId workaround now that CMDK has patched it #466
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
refactor: Remove activeDescendentId workaround now that CMDK has patched it #466
Conversation
|
WalkthroughThe pull request simplifies the Combobox component by removing the active descendant state management. The changes eliminate the Changes
Sequence Diagram(s)Previous Active Descendant FlowsequenceDiagram
participant Input as ComboboxInput
participant Root as ComboboxRoot
participant Context as ComboboxContext
Input->>Root: User types input
Root->>Context: Invoke fixActiveDescendant(newActiveValue)
Context-->>Root: Update activeDescendentId
Root->>Input: Render input with aria-activedescendant
Simplified Flow Without Active DescendantsequenceDiagram
participant Input as ComboboxInput
participant Root as ComboboxRoot
Input->>Root: User types input
Root->>Input: Render input without aria-activedescendant
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit