I have configured a number input field with the text aligned to the right.
Scenario:
While testing, I discovered that selecting the entire text or using the middle mouse button to scroll within the input field allows for a slight leftward scrolling of about 1px. This behavior seems specific to Chrome.
You can observe this issue by examining the following code:
<input type="number" value="15" style="text-align: right;" />
Possible Solution:
One approach could be to disable scrolling on the element, but I am interested in knowing if there is a more elegant fix available. Feel free to review the code here: http://codepen.io/anon/pen/mEmAvz