mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-01 05:22:21 +02:00
Merge fix
This commit is contained in:
parent
8edb33f511
commit
1cb566a0f7
|
@ -892,14 +892,6 @@ export class Choices {
|
|||
this.hideDropdown();
|
||||
}
|
||||
|
||||
// If input is not in focus, it ought to be
|
||||
if(this.input !== document.activeElement) {
|
||||
this.input.focus();
|
||||
}
|
||||
} else if(this.passedElement.type === 'select-one' && this.dropdown.classList.contains(this.config.classNames.activeState) && e.target === this.containerInner) {
|
||||
this.hideDropdown();
|
||||
}
|
||||
|
||||
if(target.hasAttribute('data-button')) {
|
||||
// If we are clicking on a button
|
||||
if(this.config.removeItems && this.config.removeItemButton) {
|
||||
|
|
Loading…
Reference in a new issue