react-textarea-autosize icon indicating copy to clipboard operation
react-textarea-autosize copied to clipboard

Textarea breaks too early with Noto Sans

Open akratzel opened this issue 6 years ago • 3 comments

Hi,

we're using 'Noto Sans, sans-serif' in our project as the main font since we need to support all kinds of characters here.

When using your package I noticed that the textarea breaks a little bit too early even though there's enough space for at least one character:

See here: https://www.loom.com/share/8a66cb97b28a4dbe98ecca9b072be7a3

This does not occur with e.g. Open Sans or something else.

Is that a known issue for you?

akratzel avatar Sep 19 '19 10:09 akratzel

I have the reverse problem in Mastodon when using the system’s font, the textarea sometimes get a scrollbar even though there’s a lot of place to extend the textarea…

ariasuni avatar Feb 25 '20 18:02 ariasuni

This is a community project. If you experience any problems I encourage you to investigate them and figure out how we can improve the code to handle them - preferably in the form of a PR.

Andarist avatar Feb 26 '20 22:02 Andarist

I’m contributing by adding details to the issue, but I can’t fix every issue I find.

I would like to help, but I can’t even run the example, because there’s no instructions. I know how run npm, but how am I supposed to use rollup? Should I run it in both the root and inside the example directory? Just running rollup or rollup rollup.config.js didn’t work.

And I won’t create a React project for that because I don’t know how to setup a React project and don’t have the time, so I just gave up for now.

I’m a developer but I don’t do a lot of web development, so I can try to understand the problem if I can and it doesn’t take me forever to setup a dev environment…

ariasuni avatar Feb 28 '20 15:02 ariasuni