Skip to content

Commit

Permalink
Lukker datepicker dersom man klikker på kalender ikon
Browse files Browse the repository at this point in the history
#deploy-test-frontend
  • Loading branch information
stigus committed Nov 5, 2024
1 parent c13f609 commit 80a9f85
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ export const Datepicker = ({
setOpen(false)
toggleDatepicker?.()
}}
onOpenToggle={() => {
setOpen(false)
toggleDatepicker?.()
}}
dropdownCaption={true}
>
<StyledInput
Expand Down

0 comments on commit 80a9f85

Please sign in to comment.