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

Broken with latest Chrome build v76.0.3809.132 #59

Closed
raynigon opened this issue Sep 5, 2019 · 9 comments
Closed

Broken with latest Chrome build v76.0.3809.132 #59

raynigon opened this issue Sep 5, 2019 · 9 comments

Comments

@raynigon
Copy link

raynigon commented Sep 5, 2019

Chrome Version:
Chrome

Result:
Result-with-js

Expected Result:
Result-without-js

@cajames
Copy link

cajames commented Sep 6, 2019

We fixed this issue by adding the style white-space: pre-wrap; to the ellipsis text class, probably worth getting this added by the library by default.

@cameronDz
Copy link

cameronDz commented Sep 7, 2019

This also started happening with an application I work on that uses this package. Thanks for posting the fix!

@PiotrSiatkowski
Copy link

PiotrSiatkowski commented Sep 10, 2019

<LinesEllipsis style={{ whiteSpace: 'pre-wrap' }} ... solved it for me as well. Thx.

@fenix20113
Copy link

Thanks! You saved my time

@schmolie
Copy link

I'm running chrome 77.0.3865.90 and the style={{ whiteSpace: 'pre-wrap' }} solution does not work for me. Does anyone have an idea on why this is happening or an alternative solution to fix the issue?

@diogo-codengage
Copy link

Thanks, It works for me

@farizsofyan
Copy link

style={{ whiteSpace: 'pre-wrap' }} also not work all the time for me.
Try to add word-break: break-all too, works for my condition

@keithort
Copy link

keithort commented Jun 2, 2020

As of Chrome 83, the issue still exists. Adding style={{ whiteSpace: "pre-wrap", wordBreak: "break-all" }} to the component works.

@raynigon
Copy link
Author

raynigon commented Jun 3, 2020

Workaround exists, closing the issue

@raynigon raynigon closed this as completed Jun 3, 2020
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

9 participants