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

Blurry text/icons while marquee is scrolling #1

Closed
dhunninghake opened this issue Feb 25, 2021 · 2 comments
Closed

Blurry text/icons while marquee is scrolling #1

dhunninghake opened this issue Feb 25, 2021 · 2 comments

Comments

@dhunninghake
Copy link

Hey! Well done on this package - fits my use case perfectly.

Just had one little bug come up that might help others - icons and text show up blurry when the marquee starts scrolling.

I was able to fix it with a line of CSS, might be useful to add a patch release eventually:

.js-marquee {
  backface-visibility: hidden;
}
@mattiacoll
Copy link
Owner

Hi thank you for your feedback, i'll be patching it later when i get home.

I believe it's better to use will-change: transform instead, since we want to have the marquee on another layer.
Any reasons for using backface-visibility instead?

@dhunninghake
Copy link
Author

No reason! In fact will-change: transform is definitely the better option. Cheers, thanks again.

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

2 participants