mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TimePicker: Fix time picker selection (#60104)
fix time picker selection
This commit is contained in:
parent
109df85cae
commit
4e7a316903
@ -125,10 +125,10 @@ export function TimeRangePicker(props: TimeRangePickerProps) {
|
|||||||
</ToolbarButton>
|
</ToolbarButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
{isOpen && (
|
{isOpen && (
|
||||||
<>
|
<div>
|
||||||
<div role="presentation" className={cx(modalBackdrop, styles.backdrop)} {...underlayProps} />
|
<div role="presentation" className={cx(modalBackdrop, styles.backdrop)} {...underlayProps} />
|
||||||
<section className={styles.content} ref={ref} {...overlayProps} {...dialogProps}>
|
<FocusScope contain autoFocus>
|
||||||
<FocusScope contain autoFocus>
|
<section className={styles.content} ref={ref} {...overlayProps} {...dialogProps}>
|
||||||
<TimePickerContent
|
<TimePickerContent
|
||||||
timeZone={timeZone}
|
timeZone={timeZone}
|
||||||
fiscalYearStartMonth={fiscalYearStartMonth}
|
fiscalYearStartMonth={fiscalYearStartMonth}
|
||||||
@ -142,9 +142,9 @@ export function TimeRangePicker(props: TimeRangePickerProps) {
|
|||||||
onChangeFiscalYearStartMonth={onChangeFiscalYearStartMonth}
|
onChangeFiscalYearStartMonth={onChangeFiscalYearStartMonth}
|
||||||
hideQuickRanges={hideQuickRanges}
|
hideQuickRanges={hideQuickRanges}
|
||||||
/>
|
/>
|
||||||
</FocusScope>
|
</section>
|
||||||
</section>
|
</FocusScope>
|
||||||
</>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{timeSyncButton}
|
{timeSyncButton}
|
||||||
|
Loading…
Reference in New Issue
Block a user