Fix tab accessibility with popup modal

This commit is contained in:
Neeraj Walia committed 2023-09-16 02:35:41 +05:30
1 parent 6fc14dd7d3
commit 7d6f10d775
1 file changed
+3 -1
+3 -1
View File
@@ -63,7 +63,9 @@ function Toggle({
}, [])
function handleBlurEvent(e: React.FocusEvent<HTMLButtonElement>) {
if (handleBlur) handleBlur(e)
setTimeout(() => {
if (handleBlur) handleBlur(e)
}, 100)
if (onBlur) onBlur(e)
}