From c8f80e1231d957638c0edf7201394e0faa67b9aa Mon Sep 17 00:00:00 2001 From: unclebill Date: Thu, 31 Mar 2022 12:31:25 +0800 Subject: [PATCH] fix(share): popup share fixup! #5972 --- .../src/social-network-adaptor/twitter.com/shared.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/mask/src/social-network-adaptor/twitter.com/shared.ts b/packages/mask/src/social-network-adaptor/twitter.com/shared.ts index 1b1ce5795335..f971f7549c1b 100644 --- a/packages/mask/src/social-network-adaptor/twitter.com/shared.ts +++ b/packages/mask/src/social-network-adaptor/twitter.com/shared.ts @@ -36,7 +36,14 @@ export const twitterShared: SocialNetwork.Shared & SocialNetwork.Base = { height, screenX: window.screenX + (window.innerWidth - width) / 2, screenY: window.screenY + (window.innerHeight - height) / 2, - behaviors: { toolbar: true, status: true, resizable: true, scrollbars: true }, + opener: true, + referrer: true, + behaviors: { + toolbar: true, + status: true, + resizable: true, + scrollbars: true, + }, }) if (openedWindow === null) { location.assign(url)