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

Still blured content #74

Closed
nmihalyov opened this issue Sep 2, 2017 · 2 comments
Closed

Still blured content #74

nmihalyov opened this issue Sep 2, 2017 · 2 comments
Labels

Comments

@nmihalyov
Copy link

I saw this issue which was fixed by rounding values, but in my case the content is still blured.

Adding perspective: 1000px to the content may help for a bit, but it doesn't work at some browser like safari (especially, on mobile devices)

Here you can see how it looks like.

You can see live example here: nmihalyov.github.io/dist
To see the effect disable perspective: 1000px rule at .works * in devtools

@pawelgrzybek
Copy link
Owner

Hi.

Sorry for months of waiting. I investigated your issue. It is a strange one and the solution would be to change the carousel behaviour to use 2d transform instead of 3d. It may come with some performance implications and I really don't want to do it. Another solution would be disabling transform 3d when the carousel is not transitioned and use it only when is dragged / sliding (thats exactly what great Flickity does).

I'll keep this issue open and I need to review how much time and changes are needed on top of the current codebase to resolve it and come back to you at some point.

Thanks again for reporting this issue.

@pawelgrzybek
Copy link
Owner

Hi.

After quick investigation is found out that it has nothing to do with Siema. Your example taken from your website is an edge case — you skew the wrapper and then skew back all the inside content. Your solution with perspective: 1000px; totally makes sense as it forces a Siema to render on a separated layer. The transform: translateZ(0) or will-change: transform; will give you the same result. Your solution is absolutely correct and there isn't much different that you can do about it. Hopefully ut makes sense.

Have a great day and thanks for contribution 🥑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants