Skip to content

Commit

Permalink
fix: explicitly set pointer-events in datepicker to auto (#2160)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahwaldner authored Jan 15, 2025
1 parent f7b8b6b commit 8799fa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-trees-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@frontify/fondue": patch
---

fix: explicitly set `pointer-events` to auto in datepicker portal
2 changes: 1 addition & 1 deletion packages/fondue/src/components/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const DatePicker = forwardRef<ReactDatePickerRef, DatePickerProps>(
return (
<div data-test-id={dataTestId}>
<ReactDatePickerComponent
calendarClassName="tw-rounded-sm tw-border tw-border-line-x-strong react-datepicker-wrap"
calendarClassName="tw-rounded-sm tw-border tw-border-line-x-strong react-datepicker-wrap tw-pointer-events-auto"
selected={value}
startDate={startDate}
endDate={endDate}
Expand Down

0 comments on commit 8799fa8

Please sign in to comment.