fix(core): center peek can't open in firefox and safari (#8816)
close AF-1690
This commit is contained in:
@@ -123,6 +123,7 @@ export const PeekViewModalContainer = forwardRef<
|
|||||||
|
|
||||||
if (!contentClip || !content || !target || !overlay) {
|
if (!contentClip || !content || !target || !overlay) {
|
||||||
resolve();
|
resolve();
|
||||||
|
setAnimeState('idle');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const targets = contentClip;
|
const targets = contentClip;
|
||||||
|
|||||||
Reference in New Issue
Block a user