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

[bug] top css property need unit #272

Open
Thankson opened this issue Mar 14, 2023 · 1 comment
Open

[bug] top css property need unit #272

Thankson opened this issue Mar 14, 2023 · 1 comment

Comments

@Thankson
Copy link

I just want to set the use-transform to be false (for avoid the .slick-list element to become an ”stacking context” element). But the left property is not right.

These two the code here maybe like below:

    if (!spec.vertical) {
      style.marginLeft = spec.left + 'px'
    } else {
      style.marginTop = spec.left + 'px'
    }
@KochetovR
Copy link

Hello. do you change slides if use-transform to be false? My current slide does not change, because the left value for slick-track remains unchanged

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