Tab close issue on IE and Edge
See original GitHub issueLast 3-4 days maybe more I don’t know in IE 11 and Edge giving us strange error only in the pages that has paypal.js initialized. If you land a page that has the paypal express in it, doing nothing and try to leave that page with anything (click back or visit a link in that page), an alert window pops up. This is the exact error you get when you run window.close()
on IE or Edge.
“do you want to close the tab - Yes | No”
I am currently on Mac so I cannot reproduce this issue with Chrome thus I can’t provide screenshots.
This is how I initialize PayPal in our product pages.
paypal.Buttons({
style: {
size: 'responsive',
color: 'white',
shape: 'rect',
label :'buynow',
layout: 'horizontal'
},
createOrder: this.payment,
onApprove: this.authorize,
onInit: this.validate,
onShippingChange: this.shippingChange,
//onError: this.error,
onCancel: this.error,
onClick: () => {this.modalClose.trigger('click')}
}).render('#paypal-action');
Steps to reproduce
It’s simple just go to a page that has the paypal scripts in it. Do nothing and click your browser’s back button.
Affected browsers
- Edge
- IE
Issue Analytics
- State:
- Created 4 years ago
- Reactions:14
- Comments:5
Top Results From Across the Web
IE Mode closes tabs - Microsoft Community Hub
IE Mode closes tabs. I am currently evaluating Edge Chromium at our school. We are still running an on premise SharePoint 2016 Server...
Read more >Microsoft rolls out fix for Edge bug that breaks tabs in Internet ...
Microsoft quickly fixed a bug in Edge that affected tabs running in Internet Explorer mode.
Read more >Edge crashes when closing a tab - Reddit
All recent versions of Edge stable channel have been crashing when closing a single tab. This occurs often, though randomly.
Read more >[Bug] Microsoft Edge No Longer Confirms on Closing Multiple ...
Microsoft Edge latest version 105.0.1343.27 contains a bug which breaks the confirmation or warning feature on closing multiple tabs in the ...
Read more >Enable Edge Settings for Unload IE Mode Tabs Before ...
Disable Edge Settings for Unload IE Mode Tabs Before Closing Browser Session ... NOTE! If you disable or don't configure this policy, Microsoft ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also experiencing the same issue
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.