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.

md-tabs: Cannot read property 'offsetHeight' of undefined at updateHeightFromContent() #2402

@ookadoo

Description

@ookadoo

I saw this issue from earlier today, but the resolution for that issue did not work for me. See my plunkr below. I'm assuming I'm doing something wrong.

My tabs are not drawn until there is data and that will come in through a rest call. I simulated that by a $timeout in the plunkr and was able to recreate. I think that is part of the problem, at the time of updateHeightFromContent() on line 13089 of 0.9RC1 the elements.contents is empty.

Any suggestions are welcome. Sorry if I'm missing something obvious.

http://plnkr.co/edit/Cmh46zfdn7zgWJlWbczo?p=preview

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions