-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsive feature using unslick wipes out containing divs #1172
Comments
Can confirm, this worked for me in 0.22.3 and is broken afterwards. |
Any word as to when this fix is going to be released? Thanks! |
I don't usually like to "bump" things, but any hope for a release with this fix sometime soon? |
I can confirm that the fix in 56b124d works |
* fixed a bug related to unslick fixes: akiran#1172 * fixed postclones in case of unslick fixes: akiran#1171 * js * css * image/video js * images
Is there a fix of this live now? |
Yes I think unslick is fixed, but, to work around what I think you're experiencing, I just went ahead and skipped all unslick behavior and put resize listeners in my component, and then only render the slideshow at screensizes where its needed, something like...
This is probably not the most helpful example, but, the react-slick |
@misstricky when you say theres a fix live - is there an npm version for it? |
@AndyArcherKG I don't work on this project (use it a lot though!) -- but I saw that unslick being fixed was listed here, this release: https://github.com/akiran/react-slick/releases/tag/0.19.0: "implemented unslick feature properly" -- So I think it works but I'm not sure how its really intended to work, so I just work around it and use resize listeners instead. Hope that helps! Might want to ask others who work on this project! |
@misstricky yeah thats fair enough i appreicate your example. I've grabbed version However this then has issues with swipe to slide. |
How about using |
This worked for me in version 0.23.2. Took me half a day looking for solution |
This is still occuring on version 0.23.2. |
@mskims @akiran @laveesingh this is still an issue Using settings:
I've had to revert to 0.22.3 to get the intended functionality
|
Still an issue |
Still an issue as of July 2019 If you need functionality from more recent versions of
Update (Aug 2019): Don't use this if you app uses server-side rendering (SSR) - see gatsbyjs/gatsby#15993 |
I am having exactly the same issue. I had to revert to [email protected] as @AllanPooley said to make it work |
I am having exactly the same issue. But as a workaround I did something like this;
hopefully it will recover soon |
Any hopes for this to be fixed in March 2020?? |
Hello guys, So I have to use 0.25.2 and fixed the 'unslick' by using this: In ReactJS:
In css:
Everything is fine for now. |
Fixed in [email protected] |
Example code here:
https://codesandbox.io/s/j1l1nn0695
https://z613xn9pk3.codesandbox.io/
Please look at the above example and change the browser size to see this critical bug.
Version 22.3 didn't have this issue. Latest version replaces slide content with empty div.
As you can see in the above screen capture, once the browser is in the setting for responsive unslick, it hits the zone where everything in <div class='slick-slider> becomes an empty div.
The text was updated successfully, but these errors were encountered: