Open
Description
add a layout prop to the datepicker to allow the date range calendars to stack vertically instead of horizontally.
This solves the issue of the picker being clipped horizontally inside drawers or modals.
The picker already defaults to this behaviour for mobile layout so it is a simple matter of checking for the prop
<div className={
flex ${layout === "vertical" ? "flex-col" : "flex-row"} py-2}>
I have already created a fork with this update so will see if the pull request is accepted
Metadata
Metadata
Assignees
Labels
No labels