akiran / akiran/react-slick

slick-track off screen due to transform: translate3d - how to set to 0?

Open
#1,932 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/10299998/99772228-3ae2e300-2abf-11eb-90a9-7fd6b0af3aec.png)

When my page is initialized, slick-track starts with a translate3d(value, 0, 0) - right to left slider, responsive.

If I pull the items into the view, then it resets to (0, 0, 0) which is what I want it to start with. Is there a reason why it is not set to (0, 0, 0) to begin with, or perhaps a way I can have it default to the 0,0,0 position?

thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.