ng-select
ng-select copied to clipboard
Focus not going next element in IE
In chrome, focus is going to the next element, but in ie it's going to different select component
Which IE version is that?
Could you also please explain in more detail the observed and expected behavior? Do you mean changing the focus by pressing the Tab key? What do you mean with 'next element' and 'different select component'?
On focus, it was not opening.
Once it was opened as below

focus is coming correct but after that clicking the tab it was going to the next input element in chrome and not in ie11.
reference focus comming.

I have done a code to open on focus.
setTimeout(() => {
let elementsWithOpenClass = this.element.nativeElement.getElementsByClassName('open');
if (!elementsWithOpenClass || elementsWithOpenClass.length == 0) {
let element: HTMLElement = this.element.nativeElement.getElementsByClassName('toggle')[0] as HTMLElement;
if (element) {
console.log('inside focus. clcik');
element.click();
/!*setTimeout(() => {
let inputElement = this.element.nativeElement.getElementsByTagName('input')[0] as HTMLElement;
if(inputElement) {
inputElement.tabIndex = 0;
}
},100);*!/
}
}
}, 200);
after this on focus select option get opened.
In ie 11 once the tab is pressed the focus is not going to next input element