Closed
Description
Description
I want to display the items only when user has typed at least three characters.
Currently this results in the bug shown on the screenshot:
As you there is some strange white space below the input.
Reproduction
Steps
- Open this CodeSandbox https://codesandbox.io/s/dont-open-dropdown-g4gdcm?file=/app.tsx
- Click on Autocomplete and type "a".
- As you can see there a strange white space below the input.
Expected behavior
When no items are available, the dropdown should not open and this strange white space below the input should not be present.
Environment
- OS: macOS 13.3.1
- Browser: Brave Version 1.57.62 Chromium: 116.0.5845.180 (Official Build) (x86_64)
- Autocomplete version: 1.11.0