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

Initial translate position #55

Closed
gnuletik opened this issue Feb 17, 2022 · 1 comment
Closed

Initial translate position #55

gnuletik opened this issue Feb 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@gnuletik
Copy link

gnuletik commented Feb 17, 2022

Hi,

In order to reduce layout shift on page load, would it be possible to set an initial transform value ?

I set this value in my component for now.

:global(.swipeable-item:not(.is-active)) {
  transform: translate3d(100vw, 0, 0);
}

Thanks!

@SharifClick SharifClick added the bug Something isn't working label Feb 23, 2023
@SharifClick
Copy link
Owner

This bug is fixed.
New release v1.9.2,
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants