-
Notifications
You must be signed in to change notification settings - Fork 129
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
wrong with lines calculation when page load and window resize #94
Comments
@chjiyun can you provide more info for the case to test? |
@moubi emmm, For example, i set lines of attribute to 3 or 4, but only get 2 lines of text all the time, as if this property is invalid, can you solve it?
|
I have created a sandbox with your example (https://codesandbox.io/s/6yj42pmlww) but can't reproduce what you are describing. Please clarify if I misunderstood your problem. Could you edit the sandbox and send the link that exactly reproduces your bug? |
@pablosichert i apply it in Row and Col (a percent Component) Component, text spreads in three columns, and my version of react-truncate is 2.3.0 |
@pablosichert i try to copy chinese text to your example on codesandbox, but i exactly get wrong result of lines, you can have a try. |
I set 'lines' to 3, but get 2 lines instead. Does this bug exist all the time?
The text was updated successfully, but these errors were encountered: