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

Added fallback to getNow in handleViewChange #1140

Merged
merged 1 commit into from
Dec 5, 2018

Commits on Dec 4, 2018

  1. Added fallback to getNow

    When view changed and props `date === undefined` we have unexpected behavior for `handleRangeChange` and then for `onRangeChange` methods. It returns sometimes `undefined` and sometimes `Invalid Date`, so I suggest fix for this to provide default date if `date` prop isn't present.
    valeryq committed Dec 4, 2018
    Configuration menu
    Copy the full SHA
    3ab7b11 View commit details
    Browse the repository at this point in the history