You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I found a small bug on Safari when editing the input value.
It may have something to do with the .setRangeText method, maybe safari is not fully supporting this method. In any way this bug doesn't happen on Chrome.
If you type a number (ex: 1245) and then place your cursor after the 2 to add a digit (3), it will add the digit, but will make the cursor jump at the end of the number (after the 5), which is not the expected behaviour.
Same if you delete a digit in the middle of the number. Same if you paste a digit in the middle of the number. It will always teleport the cursor at the end of the number.
(I am on safari 14.0.2, mac os BigSur)
Thanks for your module it is very useful,
Best regards,
JB
The text was updated successfully, but these errors were encountered:
Hello,
I found a small bug on Safari when editing the input value.
It may have something to do with the .setRangeText method, maybe safari is not fully supporting this method. In any way this bug doesn't happen on Chrome.
If you type a number (ex: 1245) and then place your cursor after the 2 to add a digit (3), it will add the digit, but will make the cursor jump at the end of the number (after the 5), which is not the expected behaviour.
Same if you delete a digit in the middle of the number. Same if you paste a digit in the middle of the number. It will always teleport the cursor at the end of the number.
(I am on safari 14.0.2, mac os BigSur)
Thanks for your module it is very useful,
Best regards,
JB
The text was updated successfully, but these errors were encountered: