The DateRange supports an adaptive mode, which when enabled, provides a mobile-friendly rendering of its calendar popup. To enable it set the
adaptiveMode input property to
The DateRange component will automatically adapt to the current screen size and will change its rendering accordingly. On medium-sized screens, the suggestion list will display as a docked to the bottom modal, while in smaller screens - a full-screen modal dialog will be used. In all other scenarios, including when the parameter has not been set or it has been to its default value of
'none', a standard popup rendering will be used.
The following example demonstrates the adaptive mode of the DateRange: