Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

IE throws exceptions on removeModalWindow on close from javascript #5096

Closed
Hadev-JHH opened this issue Dec 18, 2015 · 3 comments
Closed

IE throws exceptions on removeModalWindow on close from javascript #5096

Hadev-JHH opened this issue Dec 18, 2015 · 3 comments

Comments

@Hadev-JHH
Copy link
Contributor

When you open and close a modal from javascript, on a page that does not have any inputs or buttons. body.focus() throws a 'focus not supported' error.

The bug only occurs in IE, when body.activeElement is undefined.

Browser: IE11
Angular: 1.4.7
Angular-bootstrap: 0.14.3

@elTallarin
Copy link

This issue is now fixed from version 1.10 and beyond right? But this bug is present in older versions too.
For example 0.13.3. And is not that easy to move to 1.10 since the names of components (directives, factories) are prefixed with 'uib' there. Do you think it's possible to fix the issue for older versions?

@wesleycho
Copy link
Contributor

Our release process makes this extremely complicated to backport fixes due to our build setup.

@elTallarin
Copy link

Ok wesly. Am I right in the fact that the version with the fix is not compatible with 0.13.3?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants