[Autocomplete] With `autoComplete` + `autoHighlight` the highlighted option should appears inline
See original GitHub issueHi,there. I’m not sure this is a bug or feature. When <Autocomplete autoComplete autoHighlight />
, the first option not appears inline after the input cursor immediately. It work as expected when selection move up/down.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
If this is a bug, the default highlighted option NOT inline after the input cursor immediately when autoHighlight is on.
Expected Behavior 🤔
If this is a bug, the default highlighted option should inline after the input cursor immediately when autoHighlight is on.
Steps to Reproduce 🕹
Steps:
- https://codesandbox.io/s/material-demo-forked-pifom
- type a
- the input should be become Andorra
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:13 (11 by maintainers)
Top Results From Across the Web
Material UI Autocomplete: highlighted option should become ...
Try this (I made some changes to your code like adding reason and isOptionEqualToValue ): export default function ComboBox() { const [input, ...
Read more >Autocomplete API - Material UI - MUI
Name Type Default
options * array
renderInput * func
autoComplete bool false
Read more >Vue AutoComplete Component - PrimeFaces
Highlights automatically the first item of the dropdown to be selected. *Deprecated since v3.16.0. multiple, boolean, false, Specifies if multiple values can be ......
Read more >Autocomplete INPUT Widget - How do I do X? - Appsmith
The inline completion string is visually highlighted and has a selected state. autoHighlight | bool | false | If true, the first option...
Read more >Angular PrimeNG Form AutoComplete Component
Grouped: In this type of variation, the option will appear in the ... of selected items on multiple modes. autocomplete: This property is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
can I work on this?
This one should work better:
It reproduces how Chrome URL bar behaves. It was pretty hard to figure out! If somebody could confirm that it’s the expected behavior, it would be great, we would also need to add test cases.