Plugin causes autoscroll to cardholder name
-
The plugin causes an autoscroll to this point payment method in the checkout page. Specifically the line:
document.getElementById("cardholder_name").scrollIntoView({behavior: "smooth", block: "center", inline: "nearest"});
is causing the page to scroll automatically to the cardholder name field.This is not the expected behaviour and causes a distraction during checkout that might lead to less sales as more actions are needed from the customer.
- You must be logged in to reply to this topic.