Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dropdown): prevent showing the whole list if showOnFocus is false
When showOnFocus was set to false but the dropdown was opened by clicking on the down arrow icon, then a focus of the input field afterwards was opening the whole menu once, which isn't allowed. The iconClicked value needs to be reset whenever the dropdown list gets hidden which this PR is fixing.
- Loading branch information