Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - numberOfMonths prop on RangePicker doesn't do anything. #14

Closed
ionescho opened this issue Apr 2, 2021 · 1 comment
Closed

Comments

@ionescho
Copy link

ionescho commented Apr 2, 2021

Expected Behavior

numberOfMonths: number should display only the specified number of months

Current Behavior

The same number of months( about 6 or 7 ) depending on page width I think is being displayed.

Possible Solution

Your Environment

  • React Version: ^16.13

Additional Comments

See the faulty behavior here: https://killthejs.com/react-trip-date/?path=/story/range-picker-component--all-props
No matter how you change that prop, the number of months stays the same.

@ionescho
Copy link
Author

ionescho commented Apr 2, 2021

My bad, I didn't set autoResponsive to false.
Apparently it is by default true.
Issue can be closed.

@ionescho ionescho closed this as completed Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant