angular2-multiselect-dropdown icon indicating copy to clipboard operation
angular2-multiselect-dropdown copied to clipboard

onOpen doesn't fire when specifying c-search

Open cooljeffro opened this issue 5 years ago • 2 comments

I'm using my own custom search function, so I use <c-search> to supply my own <input>. onOpen doesn't fire when using c-search.

Example: https://stackblitz.com/edit/angular-3tcuzj

cooljeffro avatar Sep 24 '18 18:09 cooljeffro

add event click to select static openSelect($event) { let inputField = <HTMLInputElement>document.querySelector('.dropdown-list:not([hidden]) input'); inputField && !($event.target.tagName == "INPUT") && setTimeout(() => { inputField.focus() }, 0) } this hack work for me

Cobr3n avatar Dec 07 '18 05:12 Cobr3n

I have the same issu too,

sohaiebCollabCp avatar Mar 04 '22 10:03 sohaiebCollabCp