-
-
Notifications
You must be signed in to change notification settings - Fork 258
Description
Bug report
Current behavior
It seems the Autocomplete callback prop onValueChange is not called when I start typing if the input is empty.
For example, if I reload the page and start typing, onValueChange does not get called even though the actual input value is changed. Same thing happens after clearing the input.
It gets triggered if I type " " (any non-alphanumeric character, such as "%" or ":").
I can reproduce this consistently with https://base-ui.com/react/components/autocomplete#async-search. Weirdly, it only happens on mobile.
See video below:
Screen_Recording_20251028_125910_Samsung.Internet.mp4
Expected behavior
After I clear the input, the onValueChange callback gets called once I start typing again.
Reproducible example
It happens with https://base-ui.com/react/components/autocomplete#async-search for me.
Base UI version
For example v1.0.2
Which browser are you using?
Firefox and Chromium-based web browsers (Samsung Internet).
Which OS are you using?
Android.
Which assistive tech are you using (if applicable)?
None.
Additional context
Provide any additional context that might help us identify the problem and find a solution.