Do you use add the class "ag-custom-component-popup" to the floating element?
If not, add panelClass="ag-custom-component-popup" to the mat-date-range-picker component.