Skip to content

Commit

Permalink
[v9.3.x] TimePicker: Fix time picker selection (#60246)
Browse files Browse the repository at this point in the history
TimePicker: Fix time picker selection (#60104)

fix time picker selection

(cherry picked from commit 4e7a316)

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
  • Loading branch information
grafanabot and ashharrison90 committed Dec 13, 2022
1 parent 65521e7 commit 3d60298
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -142,9 +142,9 @@ export function TimeRangePicker(props: TimeRangePickerProps) {
onChangeFiscalYearStartMonth={onChangeFiscalYearStartMonth}
hideQuickRanges={hideQuickRanges}
/>
</FocusScope>
</section>
</>
</section>
</FocusScope>
</div>
)}

{timeSyncButton}
Expand Down

0 comments on commit 3d60298

Please sign in to comment.