akiran / akiran/react-slick

Slider does not work - elements are displayed all below each other

Đang mở
#1,960 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
11.9k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Unfortunately, all elements are displayed and one below the other. See screenshot below.
This view bug occurs on the following versions of Microsoft Edge and Google Chrome

_Microsoft Edge Version 87.0.664.66 (64-Bit)
Google Chrome Version 87.0.4280.88 (64-Bit)_

I use the following settings for React Slick:

```
const settings = {
dots: false,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
prevArrow: ,
nextArrow: ,
afterChange: (current) => setCurrentSlide(current),
};
```

The slider is structured as follows:

```











```

_Notice that I've changed the name of the SVG Component to SomeSVG._

![103660503-f4adea00-4f6d-11eb-9059-5a442e31b4b1](https://user-images.githubusercontent.com/33623047/103819681-2ce72280-506b-11eb-856c-f820572dbd88.png)

It works well on the MacBook with the Google Chrome Version 87.0.4280.141 and Safari.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.