]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Fix: Click on input outside of dropdown-menu prevents dropdown from closing (#33920)
authoralpadev <2838324+alpadev@users.noreply.github.com>
Tue, 11 May 2021 06:09:00 +0000 (08:09 +0200)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 06:09:00 +0000 (09:09 +0300)
commit7647b8fe5b77120ba319e7119bb0515d91f734da
tree5c335c0bc9ba8522af380b02ed980d83404de921
parent03842b5f259d6007db02c465e6c55929e551e9cd
Fix: Click on input outside of dropdown-menu prevents dropdown from closing (#33920)

* test: add test if user clicks on input not contained within dropdown-menu

* fix: click on inputs that are not contained within dropdown-menu prevent dropdown from closing
js/src/dropdown.js
js/tests/unit/dropdown.spec.js