P
P
Pit2019-11-12 17:32:32
JavaScript
Pit, 2019-11-12 17:32:32

Why is it that in a slick slider when the value is rows 2, and on a mobile phone you need rows 1, then when resizing the value does not change, only when the page is refreshed?

Why is it that in a slick slider when the value is rows 2, and on a mobile phone you need rows 1, then when resizing the value does not change, only when the page is refreshed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lord_Dantes, 2019-11-12
@Lord_Dantes

Because the script needs processing and apparently it processes the screen width 1 time.
Useful life hack: a user from a mobile phone will not be able to resize the browser window.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question