Calendar with selectionMode="range" set. After user selected date range, calendar doesn't not close

UI Components for React
Post Reply
Posts: 6
Joined: 18 Nov 2020, 23:25

02 Dec 2020, 10:29

I use the calendar component ( ) as follows:
<Calendar value={this.state.selectedDateRange} ... selectionMode="range" ... />

Two questions:
1) In this mode, after selected the second date to complete the date range selection, the calendar doesn't close as it does in other mode.
I have to click else where outside of the calendar to get it to go away.
Is there a way to have it close ?

2) I'm fine with clicking else where to close the calendar after selected the date range.
However, I need to set up and catch that event. Any idea on how to do this?


Posts: 6
Joined: 18 Nov 2020, 23:25

06 Dec 2020, 08:11

This is the same as: viewtopic.php?f=57&t=63432&sid=b4996a06 ... 9e690540e0

Has anyone open the feature?

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests