Skip to content

md-progress-spinner returns error when new Dialog is opend in Internet Explorer #3410

Closed
@ertl

Description

@ertl

Bug, feature request, or proposal:

When a new Dialog containing a md-progress-spinner is opened, for the first time, IE throws an exception.

EXCEPTION: Unable to get property 'length' of undefined or null reference
eval code (7) (3064,13)
ORIGINAL STACKTRACE:
eval code (7) (3069,17)
TypeError: Unable to get property 'length' of undefined or null reference
at FocusTrap.prototype._getFirstTabbableElement (eval code:3021:9)
at FocusTrap.prototype._getFirstTabbableElement (eval code:3023:13)
at FocusTrap.prototype._getFirstTabbableElement (eval code:3023:13)
at FocusTrap.prototype._getFirstTabbableElement (eval code:3023:13)
at FocusTrap.prototype._getFirstTabbableElement (eval code:3023:13)
at FocusTrap.prototype.focusFirstTabbableElement (eval code:2992:9)
at Anonymous function (eval code:14701:13)
at SafeSubscriber.prototype.__tryOrUnsub (eval code:234:13)
at SafeSubscriber.prototype.next (eval code:183:17)
at Subscriber.prototype._next (eval code:125:9)
eval code (7) (3070,17)
SCRIPT5007: Unable to get property 'length' of undefined or null reference

Subscriber.js (238,13)

What is the expected behavior?

No Error

What is the current behavior?

Despite the error it seems to work fine.

What are the steps to reproduce?

The problem is reproduceable. Please ignore the errors when you start this. just focus on the error when you click "Launch Dialog". If you reopen the dialog, the error is gone, until you reload the page.

https://plnkr.co/edit/4frAqiR68zIKZuwhHVy5?p=preview

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions