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

HTML ellipsis is not working properly in Brave browser #102

Open
raghav-zwt opened this issue May 3, 2022 · 3 comments
Open

HTML ellipsis is not working properly in Brave browser #102

raghav-zwt opened this issue May 3, 2022 · 3 comments

Comments

@raghav-zwt
Copy link

raghav-zwt commented May 3, 2022

HTML ellipsis is not working properly in Brave browser

<HTMLEllipsis
      unsafeHTML='Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.'
      maxLine='5'
      ellipsisHTML={`... <div><span class="read-more-link">Learn More</span></div>`}
      basedOn="letters"
    />

Screenshot_4

@JamesWatling
Copy link

We are also having this issue on chrome

@KevinCepria
Copy link

@xiaody Just to also add . I've also encountered this. But the weird things is that it works on some devices and does not work on some. In my case this bug happens to me on my Ubuntu 20.04 latest google chrome version but on my macOS (Monterey 12.13.1) Latest google chrome and Safari version it works fine. I've also checked on my Mobile phone (Samsung A53 - Chrome) and this bug also occurs. Maybe there are external factors affecting this? (ex. Agent, OS, and etc)?

@megatron-hoa-tran
Copy link

megatron-hoa-tran commented Sep 27, 2023

pls change the code like this

 ellipsisHTML={`...<span class="read-more-link">Learn More</span>`}

@raghav-zwt

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

5 participants