richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
219 stars 77 forks source link

[BUG] Stripe Payment element zooms in when leaving web page #178

Closed ABarazi2 closed 1 year ago

ABarazi2 commented 2 years ago

Describe the bug When we present a Payment Element in Stripe, and we attempt to leave the page (such as external checkout methods), while loading, the stripe element zooms in.

To Reproduce Steps to reproduce the behavior:

  1. Open a Angular Model that has the payment element ()
  2. Use a payment method that requires you to exit the website

Expected behavior When i click the pay button for an external checkout, i expect the payment element to stay same size, but for some reason it changes size after attempting to leave the website (such as external checkout).

Screenshots Before Attempting to process the payment

image

After Attempting to process the payment

image

Desktop :