Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

"TypeError: Cannot read property 'focus' of undefined" when using md-tabs #8111

@gpiancastelli

Description

@gpiancastelli

Issue #6776 has been abruptly closed (and discussion restricted) four days ago with a comment about a bug in Angular 1.5.4 due to a change which was being reverted. However, the original report used Angular 1.5.0, so it's hardly believable that the culprit could be a change that was not even made at that time.

Others in that thread reported the problem was not present in 1.5.3. But I recently had to downgrade to Angular 1.4.8 in order to have that TypeError disappear.

Specifically, it had to do with md-tabs. I was unable to had tabs shown in the most simple document while working with a bunch of combinations involving Angular 1.5.4, 1.5.5, 1.5.3, and Angular Material 1.1.0rc3. I maintain that md-tabs do not work correctly with any 1.5.x version of Angular. Also, on the Angular Material website, the Angular version used on the demos page is... guess what? 1.4.8. How convenient.

Metadata

Metadata

Labels

has: Pull RequestA PR has been created to address this issueneeds: more infoThe issue does not contain enough information for the team to determine if it is a real bugtype: bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions