kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.33k stars 5.88k forks source link

Non-composited issue for CLS #4268

Open iDigLocal opened 11 months ago

iDigLocal commented 11 months ago

short description of the bug / issue, provide more detail below.

So this centres really on googles page speed insights and the problem the slider causes to CLS stats because the animations are non-composited. From what I can gather this is to do with using css style other than transform or opacity. It definitely does not like its use of visibility. So I guess my issue is more of a question:

Are there any plans to address this?

It would be very handy as we do like the slick slider and also it would seem that this is issue wont go away.

====================================================================

[ paste your jsfiddle link here ]

use this jsfiddle to reproduce your bug: http://jsfiddle.net/simeydotme/fmo50w7n/ we will likely close your issue without it.

====================================================================

Steps to reproduce the problem

  1. ...
  2. ...

====================================================================

What is the expected behaviour?

...

====================================================================

What is observed behaviour?

...

====================================================================

More Details