You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the modal was opened when an element was active, that does not support the focus method (i.e. SVGSVGElement in some IE versions), dismissing and closing the modal ends in an Exception, leaving the Backdrop opened and the app unusable.
I could only confirm this issue in some IE versions used within a corporation I work for, so no plunker for now - the dirty workaround is to focus document.body before opening the modal for now.
checking if this._elWithFocus actually has the focus method would solve the issue.
The text was updated successfully, but these errors were encountered:
zuloo
changed the title
modal-window.ngOnDestroy() ties to apply focus unconditionaly
modal-window.ngOnDestroy() tries to apply focus unconditionaly
Jun 20, 2017
Bug description:
if the modal was opened when an element was active, that does not support the focus method (i.e. SVGSVGElement in some IE versions), dismissing and closing the modal ends in an Exception, leaving the Backdrop opened and the app unusable.
I could only confirm this issue in some IE versions used within a corporation I work for, so no plunker for now - the dirty workaround is to focus document.body before opening the modal for now.
checking if this._elWithFocus actually has the focus method would solve the issue.
CHECKHERE could be
this._elWithFocus.focus
The text was updated successfully, but these errors were encountered: