Why does it look like in my app, I can't managed how to change that padding/margin, sometimes the first date has proper possition sometimes second. also placeholders don't look like from documentation, the animation from "Enter a date range" to "Start date - End date" isn't the same as documentation present: This is my code (I copied it from documentation): <mat-form-field appearance="fill"> <mat-label>Enter a date range</mat-label> <mat-date-range-input [formGroup]="range" [rangePicker]="picker"> <input matStartDate formControlName="start" placeholder="Start date"> <input matEndDate formControlName="end" placeholder="End date"> </mat-date-range-input> <mat-hint>MM/DD/YYYY – MM/DD/YYYY</mat-hint> <mat-datepicker-toggle matIconSuffix [for]="picker"></mat-datepicker-toggle> <mat-date-range-picker #picker></mat-date-range-picker> <mat-error *ngIf="range.controls.start.hasError('matStartDateInvalid')">Invalid start date</mat-error> <mat-error *ngIf="range.controls.end.hasError('matEndDateInvalid')">Invalid end date</mat-error> </mat-form-field> Edit. When you click on the date selector and press the “<-” and “->” keys, the dates are adjusted to the correct position. Continue reading...