You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the state numberOfMonthShown changes from 2 to 1 and I open the date picker the first time it opens and shows (like expected) one month but the weekday header is too long. If I then close and then open the date picker the second time it is fine (and keeps being fine). See this screenshot from the first opening.
The change of the numberOfMonth state is triggered by an event listener that listens to the resize event. So the intention is to show one month if the screen is small and have a two month view if the screen is large.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi
when I define a state like this
and define flatpickr like this (number of month shown depending on the state)
and the state numberOfMonthShown changes from 2 to 1 and I open the date picker the first time it opens and shows (like expected) one month but the weekday header is too long. If I then close and then open the date picker the second time it is fine (and keeps being fine). See this screenshot from the first opening.
The change of the numberOfMonth state is triggered by an event listener that listens to the resize event. So the intention is to show one month if the screen is small and have a two month view if the screen is large.
Thanks in advance!
The text was updated successfully, but these errors were encountered: