setTimeout in IE 11 is not working properly
<p>I am using the setTimeout function to set the focus on a button element of a bootstrap modal. The following is the small piece of code which I wrote:</p>

<pre><code>let element = this.el.nativeElement;
setTimeout(() =&gt; element.focus(), 200);
</code></pre>

<p>This works correctly on Firefox and Chrome. But on IE 11, I get the focus on the button for a blink of a second and it looses focus.</p>

<p>Do I have to do anything different in the case of IE 11 here? Am I doing something wrong? </p>

<p>Any help would be really appreciated.</p>

<p>Thank you.</p>

<p>Cheers.</p>