Skip to content

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

Closed

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

Activity

  1. self-assigned this
    on Mar 4, 2017
  2. added a commit that references this issue on Mar 4, 2017
    7fc4247
  3. added a commit that references this issue on Mar 7, 2017
    d06ad75
  4. added a commit that references this issue on Mar 8, 2017
    787a644
  5. added a commit that references this issue on Apr 16, 2017
    ac476e4
  6. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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