Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dropdown): only preventdefault on hide for associating labels
The implemented preventDefault avoided a dropdown by reopening when clicking on the associated label instead of the dropdown itself. Unfortunately this also stops other events in some situations which do not belong to the dropdown itself. This PR now only prevents the event when the special case of the associated label was the target. Closes #861
- Loading branch information