Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Popup Open creates exception in IE with JQM 1.4.5 if document.activeElement is null #7968

Closed
@salluvada

Description

@salluvada

Browser : IE
jQuery Mobile version : 1.4.5

Issue : In IE browser, when a popup is being opened, if the document.activeElement is null, the _safelyBlur method is throwing an exception. So if you haven't clicked on any control or tabbed to any control on a html page, after the page is launched, the document.activeElement is null and due to this the exception is raised. How ever if you click/touch anywhere on the body, the document.activeElement is set to a value and this exception is not raised.

Below is the code from jsbin. Donot run it in jsbin as you cannot reproduce this error. You need to simply copy the html, put it in a .html file and place it in a virtual directory in iis/any other webserver and load it from there.

http://jsbin.com/nivozeniwe/1/watch?html,output

Screen Shot: https://onedrive.live.com/redir?resid=F5B706029F07E38E!6225&authkey=!AEg6QqUjyEogrDQ&v=3&ithint=photo%2cjpg

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions