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

fix(ui-truncate-text): resizing TruncateText to its original width doesn't work #1396

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

balzss
Copy link
Contributor

@balzss balzss commented Dec 7, 2023

INSTUI-3952

previously in componentDidMount we checked whether the component size changed from the original to update the truncation but in certain cases that didn't work e.g. if the component got resized to its original width

@balzss balzss requested review from HerrTopi and joyenjoyer December 7, 2023 14:09
@balzss balzss self-assigned this Dec 7, 2023
Copy link

github-actions bot commented Dec 7, 2023

Preview URL: https://1396--preview-instui.netlify.app

@balzss balzss requested review from matyasf and removed request for HerrTopi December 8, 2023 12:23
@balzss balzss merged commit d04417b into master Dec 8, 2023
4 checks passed
@balzss balzss deleted the fix/truncate-text-not-updating branch December 8, 2023 15:39
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

Successfully merging this pull request may close these issues.

3 participants