AngularJS Material md-datepicker blank screen when selecting

0

I am trying to use a md-datepicker, and at the moment it is selected, the whole screen goes blank except the calendar. I would like to know if it is possible to eliminate this behavior. The example followed to create the calendar is this , and the current code:

<md-input-container flex="50">
          <label>Fecha nacimiento</label>
          <md-datepicker required ng-model="paciente.fecha" md-current-view="year" md-hide-icons="calendar" md-open-on-focus></md-datepicker>
          <div ng-messages="paciente.fecha.$error">
            <div ng-message="valid">Use a valid date format</div>
          </div>
</md-input-container>

And pressing it shows .

Thanks and best regards.

    
asked by asierta 30.04.2018 в 12:47
source

1 answer

0

I found the solution, it was a problem with the CSS of Angular Material. Had the version 1.1.0, updating to version 1.1.8 already solves the error.

    
answered by 30.04.2018 / 16:13
source