Overlay does not stay when returning a promise
See original GitHub issueIn checkout.js, returning a non-resolving promise would keep the overlay around. This was useful for merchants that do a redirect so that the background was not functional while the browser was performing the redirect. I cannot get this to work in the new payments SDK.
onApprove: function(data, actions) {
actions.redirect('http://www.google.com');
return new Promise(function (resolve, reject) {} );
},
onApprove: function(data, actions) {
return actions.redirect('http://www.google.com');
},
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Ionic 5 Angular LoadingController Uncaught (in promise)
Uncaught (in promise): overlay does not exist is a very generic error and can appear in multiple situations. In general, it occurs when ......
Read more >Promise.any() - JavaScript - MDN Web Docs
This returned promise fulfills when any of the input's promises fulfills, with this first fulfillment value. It rejects when all of the input's...
Read more >Tutorial: Usage - Documentation - Shepherd JS
If true, the overlay will create an opening around the target element so that it can remain interactive. Tour Methods. addStep(options) : Creates...
Read more >overlay.html.Hint. Developer's guide - Yandex
Returns a shape that defines the area spanning the overlay in global pixel coordinates, or null if it is not possible to plot...
Read more >PlainOverlay - Component Kitchen
Overlay component in the Plain reference design system ... backdrop : the backdrop behind the overlay, default type is Backdrop; frame : the...
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
Bump
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.