Skip to content

[combobox][autocomplete] Input cursor jumps to end with async suggestions #2703

@oltodo

Description

@oltodo

Bug report

Current behavior

When using the Autocomplete component with asynchronous suggestions (similar to the example in the documentation), editing the input anywhere other than at the end causes the cursor to jump to the end after each keystroke. This prevents editing the text in the middle of the input.

Expected behavior

The cursor should remain at the expected position (where the user is typing), and should not be automatically moved to the end after each character is entered.

Reproducible example

This problem can be reproduced using the example provided in the official documentation.

https://base-ui.com/react/components/autocomplete#async-search

Base UI version

1.0.0-beta.3

Which browser are you using?

Chrome

Which OS are you using?

Mac OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: autocompleteChanges related to the autocomplete component.component: comboboxChanges related to the combobox component.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions