mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
prevent bug where selecting a relative range wouldn't apply if the absolute ranges were expanded
This commit is contained in:
parent
51ae1f3d00
commit
7090443c12
@ -127,8 +127,8 @@ export function TimeRangePicker(props: TimeRangePickerProps) {
|
||||
{isOpen && (
|
||||
<>
|
||||
<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,8 +142,8 @@ export function TimeRangePicker(props: TimeRangePickerProps) {
|
||||
onChangeFiscalYearStartMonth={onChangeFiscalYearStartMonth}
|
||||
hideQuickRanges={hideQuickRanges}
|
||||
/>
|
||||
</FocusScope>
|
||||
</section>
|
||||
</section>
|
||||
</FocusScope>
|
||||
</>
|
||||
)}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user