Closed ddayguerrero closed 5 years ago
@glebm your suggestion made sense and allows users to provide more specific functionality when using Payfrom in a RTL context. Do you mind giving this a try?
I created a fallback to the global directionality of the page in case the computer style object is undefined
.
Do you mind giving this a try?
Sorry but I'm not currently using Payform in an RTL context.
Changes
Resolves a couple of minor of issues when copy pasting full card numbers:
When pasting a full length credit card, the cursor is not positioned at the very end, but instead, a few digits before. (e.g. pasting a (16) digit credit card will cause the cursor to be 3 digits before)
When selecting a full length credit card, by mouse or keyboard, and then pasting again the same credit card number, it will add three extra numbers to the very end of it, resulting in a 19 digit card.
Why introduce these changes?
How is this achieved?
...