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

Sometimes the code by itself cuts off single line into an ellipsis #107

Closed
prrenish opened this issue Jul 21, 2022 · 1 comment
Closed

Comments

@prrenish
Copy link

Screenshot from 2022-07-21 11-55-18

I have tried all the options that are available except break-all because that will cut of words for me.
This occurs not on a regular interval but on dynamic updated so is there any way to fix this currently have tried everything but still the same.

<ResponsiveEllipsis
          component='article'
          className='ellipsis-text'
          text={text}
          maxLine={2}
          trimRight={false}
          onReflow={handleReflow}
          basedOn={"words"}
          ellipsis='...Read More'
          style={{ whiteSpace: "pre-wrap", wordBreak: "break-word" }}
      /> 

Thanks in advance

@xiaody
Copy link
Owner

xiaody commented May 20, 2024

Close due to inactivity and no reproductions. Feel free to reopen with a stackblitz reproduction link.

@xiaody xiaody closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants