Skip to content

DateRangePicker with singleMonthOnly and maxDate renders last month #3432

Closed
@jaxgeller

Description

Environment

  • Package version(s): "@blueprintjs/core": "3.14.1", "@blueprintjs/datetime": "3.7.2",
  • Browser and OS versions: All

Demo: https://codesandbox.io/s/lxlq58lm4q

Steps to reproduce

  1. Add DateRangePicker with
<DateRangePicker
  singleMonthOnly
  allowSingleDayRange
  shortcuts={false}
  maxDate={new Date()}
/>

Actual behavior

By default renders last month

Expected behavior

Render the current month as the default

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions