Open
Description
Describe the bug
When using a custom ItemRenderer, double selecting a single item will remove the capability to close the dropdown when clicking outside.
Sandbox / Git Repo
https://codesandbox.io/s/naughty-dewdney-wn7v74?file=/src/App.js
To Reproduce
Steps to reproduce the behavior:
- Check out the repo
- Select a single item
- Deselect the item
- click outside of the dropdown
- It won't close
Expected behavior
It closes when clicked outside
Desktop (please complete the following information):
- OS: Win 11
- Chrome
- Latest
Additional context
Maybe I use the Default Item renderer wrong, but there is no working example in the docs and this was the only thing I found in the soruce code.