akiran / akiran/react-slick

Next.js - issue with responsive (wrong breakpoint for a moment)

Open
#2,299 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

In Next.js project when I refresh the page on mobile settings for the largest breakpoint are applied for a while.

Replication [here](https://codesandbox.io/s/react-slick-next-test-forked-7tjgqr?file=/pages/index.js).

![2023-10-30 12 23 40](https://github.com/akiran/react-slick/assets/43489014/be26f51c-1e15-4d93-b7f7-2b983bc541b4)

Noticed the same problem in [example](https://react-slick.neostack.com/docs/example/responsive/) from documentation (Gatsby project).

![2023-10-30 12 26 42](https://github.com/akiran/react-slick/assets/43489014/bf92d1c1-2e5a-4276-bb62-e8e7765d4db9)

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.