Reputation: 53
I cannot get the md-datepicker to render correctly. I have followed the instructions by initializing the model in the controller to: new Date()
, but when calendar opens I don't see days, like on the screenshot below.
However when I scroll up after a few seconds, days start to appear normally
I used the angular 1.6.1 and the ngMaterial 1.1.1
Upvotes: 4
Views: 1518
Reputation: 1152
Try to add
angular.module('App', []).config(function($compileProvider) {
$compileProvider.preAssignBindingsEnabled(true);
});
Upvotes: 3
Reputation: 53
I degraded the angular-material version to 1.1.0 and it works as expected.
Upvotes: 1