Material: md-datepicker on android and chrome not showing numbers in current HEAD 1.1.x

Created on 26 May 2016  路  7Comments  路  Source: angular/material

Actual behavior:

  • What is the issue?
    On Android phones the md-datepicker component shows only a white dialog box without any numbers. Scrolling is not working at all, the datepicker closes automatically. It is not possible to select any date.
  • What is the expected behavior?
    Showing all numbers as expected on other devices

CodePen or Steps to reproduce the issue: *

Angular Versions: *

  • Angular Version: 1.5.x
  • Angular Material Version: 1.1.rc-x

Additional Information:

  • Browser Type: Chrome Android
  • Browser Version: Chrome 50.0.2661.89
  • OS: Android 5.1.1
Pull Request fixed bug

All 7 comments

component shows only a white dialog box without any numbers

This is also happening on desktop if you can position the datepicker near the bottom of the screen.

I'll have a fix for it as a part of https://github.com/angular/material/pull/8541, but I'm trying to fix another issue before that.

Having the same problem.

Also on desktop, where the date picker is in an md-dialog, the ui is a bit off.

1

@xuaninbox do you happen to have box-sizing: border-box applied to the calendar?

@crisbeto Yep ur right! Thanks!

Great, thanks for confirming. There's an issue to address this as well.

@crisbeto
.md-virtual-repeat-offsetter

actually have box-sizing: border-box; so have to overwrite that too to fix the shadow thing on the right.

.md-virtual-repeat-offsetter, md-calendar-month { box-sizing: initial !important; }

Was this page helpful?
0 / 5 - 0 ratings