mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(explore): Datepicker glitch on hover outside the modal (#15033)
This commit is contained in:
committed by
GitHub
parent
a1ca0b2e6b
commit
0e07a5ca03
@@ -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))
|
||||
}
|
||||
@@ -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))
|
||||
}
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user