akiran / akiran/react-slick

Slider component transforms out of the screen, and items takes the wrong direction

Offen
#2,119 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Transform

I just copied React-slick config etc. from other project (I have never used It) and I adapted it to my project. But after running my app I couldn't scroll whole page, I was scrolling only Slider component. I thought it's because of my components height, but not, height was set to 200px. then I set something up and now I can scroll bla bla bla. Slider just decided to make itself transform left to fill WHOLE screen, but out of the screen, but so as not to travel past the component it's wrapper with to its right. That's my first problem. Arrows are in right place.

Setting wrapper width to 100% doesn't help.

![react-slick transform](https://user-images.githubusercontent.com/25825628/149003990-00257975-9ca3-4b5e-be66-615ab6a9fc74.png)

### Direction

After I manually changed Slider to not transform, left too much, I saw all components are set in the column, including arrows.

![react-slick direction](https://user-images.githubusercontent.com/25825628/149004543-a50ea811-25c1-45cb-b496-c3bff3adf057.png)

Is it problem with my code anywhere or I just can't setup the slick? I couldnt find anything like this in my css
```
* {
*css here*
}
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.