Fixed a bug in the DialogContext.jsx

This commit is contained in:
Mathias Wagner
2023-02-19 18:55:38 +01:00
parent d38b8fc17f
commit 09dc2650f5

View File

@@ -14,8 +14,10 @@ export const DialogProvider = (props) => {
}
const onClose = (e) => {
hideTooltips(false);
if (e.animationName === "fadeOut") props?.close();
if (e.animationName === "fadeOut") {
hideTooltips(false);
props?.close();
}
}
const handleKeyDown = (e) => {