react-textfit icon indicating copy to clipboard operation
react-textfit copied to clipboard

doesn't work with hyphen (minus) and parentheses

Open nkbartc opened this issue 2 years ago • 0 comments

Hi team, thanks for this amazing library!

I would like to report there are issues with hyphen (minus) and parentheses. Any input after a hyphen or a number of ( and ) will cause next line unexpectedly. Please see the screen shots. I found these issues in my own project which tries to fit text in a div instead of a textbox. But I also found the same issues exist in your demo. (https://malte-wessel.com/react-textfit/). Any help will be much appreciated!!

image image image

nkbartc avatar Dec 15 '22 20:12 nkbartc