Skip to content

Commit

Permalink
fix(explore): Datepicker glitch on hover outside the modal (#15033)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Jun 8, 2021
1 parent a1ca0b2 commit 0e07a5c
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -130,7 +130,7 @@ export function CustomFrame(props: FrameComponentProps) {
<Row>
<DatePicker
showTime
value={dttmToMoment(sinceDatetime)}
defaultValue={dttmToMoment(sinceDatetime)}
onChange={(datetime: Moment) =>
onChange('sinceDatetime', datetime.format(MOMENT_FORMAT))
}
Expand Down Expand Up @@ -188,7 +188,7 @@ export function CustomFrame(props: FrameComponentProps) {
<Row>
<DatePicker
showTime
value={dttmToMoment(untilDatetime)}
defaultValue={dttmToMoment(untilDatetime)}
onChange={(datetime: Moment) =>
onChange('untilDatetime', datetime.format(MOMENT_FORMAT))
}
Expand Down Expand Up @@ -247,7 +247,7 @@ export function CustomFrame(props: FrameComponentProps) {
<Col>
<DatePicker
showTime
value={dttmToMoment(anchorValue)}
defaultValue={dttmToMoment(anchorValue)}
onChange={(datetime: Moment) =>
onChange('anchorValue', datetime.format(MOMENT_FORMAT))
}
Expand Down

0 comments on commit 0e07a5c

Please sign in to comment.