Skip to content

Commit

Permalink
🐛 Fix bug with react-datepicker zindex
Browse files Browse the repository at this point in the history
  • Loading branch information
karlosos committed Mar 14, 2024
1 parent e1cd491 commit 48ab2bf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const TimeEntryEdit: React.FC<TimeEntryEditProps> = ({
/>
<div data-testid={testId.startTime}>
<DatePicker
portalId="root-portal"
className="border-gray_border rounded border hover:border-black focus:outline-blue-500"
selected={new Date(startTimeValue)}
wrapperClassName={styles.date_picker}
Expand All @@ -75,6 +76,7 @@ export const TimeEntryEdit: React.FC<TimeEntryEditProps> = ({
</div>
<div data-testid={testId.stopTime}>
<DatePicker
portalId="root-portal"
className="border-gray_border rounded border hover:border-black focus:outline-blue-500"
disabled={!stopTimeValue}
wrapperClassName={styles.date_picker}
Expand Down

0 comments on commit 48ab2bf

Please sign in to comment.