Fixed an issue where pop-up notifications from Object Explorer wouldn't get dismissed automatically if the Query Tool was opened. #6571

pull/7680/head
Aditya Toshniwal 2024-07-09 16:25:04 +05:30
parent 721a5da895
commit dbdea181a9
3 changed files with 6 additions and 2 deletions

View File

@ -80,6 +80,9 @@ export default function cmOverride(theme) {
'& .cm-foldGutter': {
padding: '0px',
color: editor.fg,
'& .cm-gutterElement': {
width: '18px',
}
},
'& .cm-breakpoint-gutter': {

View File

@ -50,8 +50,8 @@ import activeLineExtn from '../extensions/activeLineMarker';
import currentQueryHighlighterExtn from '../extensions/currentQueryHighlighter';
import { autoCompleteCompartment, indentNewLine } from '../extensions/extraStates';
const arrowRightHtml = ReactDOMServer.renderToString(<KeyboardArrowRightRoundedIcon style={{fontSize: '1.2em'}} />);
const arrowDownHtml = ReactDOMServer.renderToString(<ExpandMoreRoundedIcon style={{fontSize: '1.2em'}} />);
const arrowRightHtml = ReactDOMServer.renderToString(<KeyboardArrowRightRoundedIcon style={{width: '16px'}} />);
const arrowDownHtml = ReactDOMServer.renderToString(<ExpandMoreRoundedIcon style={{width: '16px'}} />);
function handleDrop(e, editor) {
let dropDetails = null;

View File

@ -207,6 +207,7 @@ export function NotifierProvider({ pgAdmin, pgWindow, getInstance, children, onR
getInstance?.(pgAdmin.Browser.notifier);
onReady?.();
}}
disableWindowBlurListener={true}
>
{children}
</SnackbarProvider>