-
Notifications
You must be signed in to change notification settings - Fork 10
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
inner text not updating when new value passed in #4
Comments
I see... yeah, that looks to be a problem. Possibly related to #2 |
Putting the children as useCallback prop:
And removing this if:
Worked for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be an issue where the value inside the ellipsis is not updating when the text is long enough to be truncated.
Here's a demo:
https://codesandbox.io/s/demo-middle-ellipsis-l8wq1
The text was updated successfully, but these errors were encountered: