1
0
mirror of synced 2024-11-22 04:56:08 +03:00
select2/src
Kevin Brown f2d527ea97
Do not propagate click when search box is not empty (#5580)
This fixes a long-standing bug where if you tried to click in the
search box for a multiple select while there was text in it, the
dropdown would close and the text would be cleared. This caused
many unexpected issues, because it meant that you could only use
your keyboard to edit text within the search box.

This will still clear out the search field if you click within the
area of the selection which is not the search field. I'm not sure
if that is also unexpected behaviour, so for now I am going to
maintain it.

Fixes #3517
Fixes #3808
Fixes #5491
Closes #5551
2019-07-21 13:04:51 -04:00
..
js Do not propagate click when search box is not empty (#5580) 2019-07-21 13:04:51 -04:00
scss removed select2-selection__placeholder from _multiple.scss (#5508) 2019-06-25 21:59:56 -04:00