Browse Source

Fixes #1867, issue with forceSelection not clearing filter

pull/1896/head
jlukic 9 years ago
parent
commit
9f1c172bcf
2 changed files with 2 additions and 1 deletions
  1. 1
      src/definitions/modules/dropdown.js
  2. 2
      src/definitions/modules/dropdown.less

1
src/definitions/modules/dropdown.js

@ -456,6 +456,7 @@ $.fn.dropdown = function(parameters) {
; ;
if(hasSelected) { if(hasSelected) {
module.event.item.click.call($selectedItem); module.event.item.click.call($selectedItem);
module.remove.filteredItem();
} }
}, },

2
src/definitions/modules/dropdown.less

@ -399,7 +399,7 @@ select.ui.dropdown {
/* Scrollbar in IE */ /* Scrollbar in IE */
@media all and (-ms-high-contrast:none) { @media all and (-ms-high-contrast:none) {
.ui.selection.dropdown .menu { .ui.selection.dropdown .menu {
min-width: calc(100% - @scrollbarWidth);
min-width: calc(100% - @scrollBarWidth);
} }
} }

Loading…
Cancel
Save