Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Numbers entered into an Input element changes the letter spacing of all characters #8636
MacOS 10.12.6, Google Chrome 63.0.3239.108
Steps to reproduce
Go to https://ant.design/components/input/ in Google Chrome. Type some letters into any input field, then type a number. The spacing should change.
What is expected?
The letter spacing should remain the same.
What is actually happening?
The letter spacing is changing.
This does not happen in Firefox or Safari on my MacBook.
I believe it is chrome's bug to treat unicode chars in same word as same font face.
You can override the @font-family variables as a workaround.