chore: super conversion dialog (#2669)

This commit is contained in:
Mo
2023-11-30 10:50:15 -06:00
committed by GitHub
parent 394ed65e11
commit 8790f97e2d
4 changed files with 31 additions and 7 deletions

View File

@@ -134,7 +134,11 @@ const PositionedPopoverContent = ({
}}
onBlur={() => {
setTimeout(() => {
if (document.activeElement && document.activeElement.tagName === 'IFRAME') {
if (
document.activeElement &&
document.activeElement.tagName === 'IFRAME' &&
!document.activeElement.getAttribute('data-used-in-modal')
) {
togglePopover?.()
}
})