Datepicker appears above component when it would appear below the viewport

...h space at the bottom of the screen for it to be fully visible.