Fixes tooltip issue with time picker and dashboard settings (#51836)

This commit is contained in:
Torkel Ödegaard
2022-07-06 20:53:52 +02:00
committed by GitHub
parent c93f1f3693
commit 777f0d532a
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ export function UnthemedTimeRangePicker(props: TimeRangePickerProps): ReactEleme
</ToolbarButton>
</Tooltip>
{isOpen && (
<FocusScope contain autoFocus restoreFocus>
<FocusScope contain autoFocus>
<section ref={ref} {...overlayProps} {...dialogProps}>
<TimePickerContent
timeZone={timeZone}

View File

@@ -161,7 +161,7 @@ export function DashboardSettings({ dashboard, editview }: Props) {
const styles = getStyles(config.theme2);
return (
<FocusScope contain autoFocus restoreFocus>
<FocusScope contain autoFocus>
<div className="dashboard-settings" ref={ref} {...overlayProps} {...dialogProps}>
<PageToolbar title={`${dashboard.title} / Settings`} parent={folderTitle} onGoBack={onClose} />
<CustomScrollbar>