# DateRange Adaptiveness

The DateRange can adapt its calendar popup to the screen size and show an on-screen keyboard that suits date entry on touchscreen devices.

The DateRange supports an adaptive mode that provides a mobile-friendly rendering of its calendar popup. To enable it, set the [`adaptiveMode`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/daterangepopupcomponent#adaptivemode) input property of the `kendo-daterange-popup` to `'auto'`.

To set the title and subtitle of the action sheet that renders on smaller screens, use the [`adaptiveTitle`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/daterangepopupcomponent#adaptivetitle) and [`adaptiveSubtitle`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/daterangepopupcomponent#adaptivesubtitle) properties.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/daterange/adaptive/source.txt)

## Adaptive Breakpoints

In adaptive mode, the DateRange component automatically adapts to the current screen size and changes its rendering accordingly:

* On medium-sized screens, the calendar popup displays as an action sheet docked to the bottom of the screen.
* On smaller screens, the calendar popup appears in a full-screen action sheet.
* In all other scenarios, including when the parameter is not set or is set to its default value of `'none'`, standard popup rendering is used.

The adaptive mode changes the rendering of the popup element of the DateRange as per the screen resolution of the device (the horizontal value in `px`) with the following breakpoints:

* Small screens—up to `500px`.
* Medium screens—between `500px` and `768px`.
* Large screens—larger than `768px`.

> If you need to customize the default values of the adaptive breakpoints, refer to the [Adaptive Settings](https://www.telerik.com/kendo-angular-ui/components/utils/adaptive-settings) article.

## On-Screen Keyboard

To enhance the mobile user experience of your Angular application, you can configure the type of the on-screen keyboard for the DateRange component. The virtual keyboard functionality can be used as an alternative to the adaptive mode of the DateRange or as a suitable addition in scenarios with large screen devices.

To display an on-screen keyboard for the DateRange, use the [`inputAttributes`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/dateinputcomponent#inputattributes) property of the start and end DateInput components and set the [`inputmode`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) HTML attribute to the desired value. Based on the defined setting, the browser will display the most appropriate virtual keyboard on the screen.

The following example demonstrates how to configure an on-screen keyboard for the Kendo UI for Angular DateRange.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/daterange/adaptive/input-mode/source.txt)

## Suggested Links

* [API Reference of the DateRange](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/daterangecomponent)
