tabs: disappears inside a md-dialog
angular-material v0.10.1. Google Chrome.
In the md-dialogI template I have something like this:
<md-tabs class="chop-tab" md-dynamic-height="true" md-border-bottom="true" md-center-tabs="true">
<md-tab ng-repeat="difficulty in ['easy', 'medium', 'hard']" id="{{difficulty}}">
<md-tab-label> {{difficulty}} </md-tab-label>
<md-tab-body class="md-padding">
...
<md-tab-body>
</md-tab>
</md-tabs>
and this is how I show it:
$mdDialog.show({
targetEvent: ev,
animate: false,
clickOutsideToClose: true,
controller: "SomeCtrl",
resolve: {
resolve_promise: function(service){
return service.promise();
}
},
templateUrl: "<url to template with code shown above>",
});
The thing is that sometimes it works as expected and some other times the entire md-tabs element is not shown. Te strangest thing is that in the Chrome Inspector y toggle off and then back to on the overflow: visible property of md-tabs > md-tabs-content-wrapper element and magically the tabs are shown correctly.
Any ideas?
not a solution, but as a workaround I put an empty
I am experiencing the problem the same way @thekia19 has described. I would be glad if someone helps to solve this issue. Thanks in advance.
Problem is still there. Since only last tab is missing, one empty tab at the end hides the problem
If you are still seeing this, please open a new issue with a CodePen repro using AngularJS Material 1.1.18+.