lynxSven
lynxSven

Reputation: 594

Angular 5 Material 2: Datepickerstyle

I have started to use Material 2 in a new Angular 5 project. I noticed that the style of the Datepicker-toogle seems to have changed.

Old Datepicker

The old one works fine for me. It opens under the Icon

New Datepicker

The new one starts on the bottom of the whole page and takes the whole width.

Does anyone know if this is a material related problem? I tested it with Chrome and the new Firefox Quantum. It has the same Result. Is there a possibility to get the old Datepicker back?

Upvotes: 2

Views: 570

Answers (1)

Vivek Doshi
Vivek Doshi

Reputation: 58543

There is no issue with Datepicker :

Here is the link to WORKING DEMO (Used latest Material package)

Please check your css, must be conflicting with datepickers style.

Upvotes: 1

Related Questions