On checkout, when you scroll down to the PayPal button and then refresh the page, after the page jumps the scroll, the PayPal button no longer works. Nothing happens when you click on it, and it appears the click event didn't load.
To reproduce
I was able to reproduce this on my test site (and the customer's site) using Chrome Device mode, but was not able to reproduce this on my iPhone SE.
Place a product in the cart and navigate to checkout
Click the PayPal button and see that PayPal loads
This is key - scroll down to the PayPal button
Refresh the page from that point - the page will load and then return to the PayPal button automatically
Click the PayPal button again and see that there is no working click event now
This behavior only seems to happen as a result of the load -> page scroll location. Refreshing from the top of the page gives you a working PayPal button.
Expected behavior
The PayPal button click event should load, regardless of where / how you refresh the page.
Environment (please complete the following information):
WordPress 5.5.3
WooCommerce 4.6.1
PayPal (Express) Checkout Plugin v. 2.1.0
Chrome Version 86.0.4240.111 (Official Build) (x86_64) -
Additional details
Customer reports this behavior with an iPhone XR, no browser information available. 3466737-zen.
Describe the bug
On checkout, when you scroll down to the PayPal button and then refresh the page, after the page jumps the scroll, the PayPal button no longer works. Nothing happens when you click on it, and it appears the click event didn't load.
To reproduce
I was able to reproduce this on my test site (and the customer's site) using Chrome Device mode, but was not able to reproduce this on my iPhone SE.
This behavior only seems to happen as a result of the load -> page scroll location. Refreshing from the top of the page gives you a working PayPal button.
Expected behavior
The PayPal button click event should load, regardless of where / how you refresh the page.
Environment (please complete the following information):
Additional details
Customer reports this behavior with an iPhone XR, no browser information available. 3466737-zen.