mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -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>
|
||||
</Tooltip>
|
||||
{isOpen && (
|
||||
<>
|
||||
<div>
|
||||
<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
|
||||
timeZone={timeZone}
|
||||
fiscalYearStartMonth={fiscalYearStartMonth}
|
||||
@ -142,9 +142,9 @@ export function TimeRangePicker(props: TimeRangePickerProps) {
|
||||
onChangeFiscalYearStartMonth={onChangeFiscalYearStartMonth}
|
||||
hideQuickRanges={hideQuickRanges}
|
||||
/>
|
||||
</FocusScope>
|
||||
</section>
|
||||
</>
|
||||
</section>
|
||||
</FocusScope>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{timeSyncButton}
|
||||
|
Loading…
Reference in New Issue
Block a user