Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't have 3 lines if the text is Japanses. #5

Open
bautd-2046 opened this issue Oct 14, 2019 · 4 comments
Open

Doesn't have 3 lines if the text is Japanses. #5

bautd-2046 opened this issue Oct 14, 2019 · 4 comments

Comments

@bautd-2046
Copy link

ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。ダミーテキストです。
check with this and you will see, the default is 3 but it's still 1 line.
image

@antares-code
Copy link

@bautd-2046 ,
the bug is not reproducable with package version 1.4.6, could you please help to reproduce the issue.
Here is a working example:

japan1
japan2

@luongnguyenduc
Copy link

luongnguyenduc commented Nov 7, 2020

I am having the same issue, it does not display more than 1 line if the text does not have space, I can't find any workaround

@Shing723
Copy link

the same issue with traditional chinese

@nevendyulgerov
Copy link

Maybe this fork can help - https://www.npmjs.com/package/react-show-more-text-long-text-fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants