Open sikandartariq1 opened 5 years ago
I think it's better if we have an option breakpoint to define width of month, number month rather than that
@linhbui167 can you please elaborate? didn't get your point.
I mean something like this :
[
{
screen: 375,
maxMonthShow: 1,
monthWidth: 300,
},
{
screen: 768,
maxMonthShow: 2,
monthWidth: 300,
},
]
Can we have
monthsToShow
option with respect to screen size? At least for tablet and desktop as we have default value 1 for mobile.For example:
monthsToShow-desktop
: 1monthsToShow-tablet
: 2Why we need this: Very common in design that we increase space (e.g bootstrap columns for small screens). I've faced the same problem showing datepicker in
col-lg-3 col-md-12
, now tablet has enough space (12 columns) to display 2 months but not for 3 columns for desktop.