From 23a27a5161454c5d861868dfaa378e8ab7afc15f Mon Sep 17 00:00:00 2001 From: Jaied Al Sabid <87969327+jaieds@users.noreply.github.com> Date: Sat, 4 Jan 2025 15:47:11 +0600 Subject: [PATCH] fix: Hover effect not working properly for dualdate and presets variant --- src/components/datepicker/datepicker-component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/datepicker/datepicker-component.tsx b/src/components/datepicker/datepicker-component.tsx index 12c160c5..4b9fa8c5 100644 --- a/src/components/datepicker/datepicker-component.tsx +++ b/src/components/datepicker/datepicker-component.tsx @@ -667,7 +667,7 @@ const DatePickerComponent = ( { // Find the closest ancestor container element const datesContainer = currentButton.closest( - '.bsf-force-ui-month-weeks' + '.bsf-force-ui-date-picker-month' ) as Element; // Find all buttons within the container element