-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Provide a general summary of the issue here
DateRangePicker reset button is not working in Popover but working on RangeCalendar
-
Calendar
- Standalone Calendar component ✅
- With Popover (DatePicker) ✅
-
RangeCalendar
- Standalone RangeCalendar component ✅
- With Popover (DateRangePicker) ❌
By reset I mean this
const rangeCalendarState = use(RangeCalendarStateContext)!;
rangeCalendarState.setValue(null)🤔 Expected Behavior?
It should reset the value just like the other Calendar components
😯 Current Behavior
The RangeCalendar inside Overlay component like Popover, reset button is only closing the overlay not resetting the value of the RangeCalendar
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
https://stackblitz.com/edit/vitejs-vite-qw6rj1ep
Version
1.13.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Windows 11
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels