akiran / akiran/react-slick

Responsive settings not working in Safari browser

Đang mở
#1,693 1 bình luận 4 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ả

Hello,
First of all, thank you for this project it's awesome!

**Visualizing the issue**
I struggle with Safari (and IE11) to display with responsive settings. It works like a charm on all other browsers though. It looks like responsive settings are not used at all. You can see it in action on this landing page: https://shakabay.com
The setting works well on Chrome/iOS.

Responsive settings we're using are defined here:
https://codesandbox.io/s/react-slick-playground-y4ykz?fontsize=14&hidenavigation=1&theme=dark

**The issue**
Safari doesn't seem to apply responsive settings. Changing the window

**Failed workarounds**
I tried to work around it forcing the component to re-render after it mounts, or passing `responsive={isMounted ? responsive : null}` (it seems to be a workaround for SSR issues) but that would not work either.

Does anyone have any idea? Is it a bug or am I completely misusing?

P.S. I do have these `

` wrappers in the code around items to display

Thank you very much for sharing this project,

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.