Skip to content

fix(site): remove invalid Autocomplete hooks#27177

Open
DanielleMaywood wants to merge 1 commit into
mainfrom
fix/autocomplete-invalid-hooks
Open

fix(site): remove invalid Autocomplete hooks#27177
DanielleMaywood wants to merge 1 commit into
mainfrom
fix/autocomplete-invalid-hooks

Conversation

@DanielleMaywood

Copy link
Copy Markdown
Contributor

The Autocomplete component mirrored its highlighted option in both state and a ref, and used an effect to clear highlights that no longer existed in the options.

Use the render-relevant state directly for keyboard handling, derive the effective highlighted value from the current options, and remove the redundant ref and effect.

This PR was generated by Coder Agents on behalf of @DanielleMaywood.

@DanielleMaywood DanielleMaywood marked this pull request as ready for review July 11, 2026 09:33
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