fix(core): center peek can't open in firefox and safari (#8816)

close AF-1690
This commit is contained in:
CatsJuice
2024-11-14 06:23:34 +00:00
parent 181b213a3e
commit 87520e9bf9
@@ -123,6 +123,7 @@ export const PeekViewModalContainer = forwardRef<
if (!contentClip || !content || !target || !overlay) {
resolve();
setAnimeState('idle');
return;
}
const targets = contentClip;