fix(core): window.open to a new origin will be blocked by browser (#5856)
This commit is contained in:
@@ -74,7 +74,7 @@ const OpenAppImpl = ({ urlToOpen, channel }: OpenAppProps) => {
|
||||
|
||||
if (urlToOpen && lastOpened !== urlToOpen && autoOpen) {
|
||||
lastOpened = urlToOpen;
|
||||
open(urlToOpen, '_blank');
|
||||
location.href = urlToOpen;
|
||||
}
|
||||
|
||||
if (!urlToOpen) {
|
||||
|
||||
Reference in New Issue
Block a user