1
0
mirror of synced 2024-11-22 04:56:08 +03:00
select2/tests
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
..
a11y Mirror disabled state through aria-disabled on selection (#5579) 2019-07-21 11:44:09 -04:00
data Test against jQuery 3.4.1 (#5531) 2019-06-25 22:05:15 -04:00
dropdown Test against jQuery 3.4.1 (#5531) 2019-06-25 22:05:15 -04:00
integration Fix tag creation being broken in 4.0.7 (#5558) 2019-07-09 19:13:03 -04:00
options Add computedstyle option for calculating the width (#5559) 2019-07-09 19:44:33 -04:00
results Convert source and tests to unix newlines 2019-07-20 23:01:38 -04:00
selection Do not propagate click when search box is not empty (#5580) 2019-07-21 13:04:51 -04:00
utils Combine tests into common files 2015-02-13 23:29:56 -05:00
vendor Test against jQuery 3.4.1 (#5531) 2019-06-25 22:05:15 -04:00
helpers.js Update grunt-contrib-qunit to latest version (#5530) 2019-06-04 22:43:52 -04:00
integration-jq1.html Restore compatibility with data-* attributes in jQuery 2.x (#5486) 2019-04-27 22:20:56 -04:00
integration-jq2.html Restore compatibility with data-* attributes in jQuery 2.x (#5486) 2019-04-27 22:20:56 -04:00
integration-jq3.html Test against jQuery 3.4.1 (#5531) 2019-06-25 22:05:15 -04:00
unit-jq1.html Convert source and tests to unix newlines 2019-07-20 23:01:38 -04:00
unit-jq2.html Convert source and tests to unix newlines 2019-07-20 23:01:38 -04:00
unit-jq3.html Convert source and tests to unix newlines 2019-07-20 23:01:38 -04:00