Responsive arrows with Custom prevArrow/nextArrow
See original GitHub issueshort description of the bug / issue, provide more detail below.
When binding existing dom elements to prevArrow/nextArrow properties, responsive property with arrows set to false has no effect. Works when using default prevArrow/nextArrow.
====================================================================
[ http://jsfiddle.net/aorinevo/fmo50w7n/1221/ ]
use this jsfiddle to reproduce your bug: http://jsfiddle.net/aorinevo/fmo50w7n/1221/ we will likely close your issue without it.
====================================================================
Steps to reproduce the problem
- set prevArrow and nextArrow to existing DOM elements
- Set responsive array with two break points and set arrows false for one.
- Resize window between break points and see that arrows are always displayed.
====================================================================
What is the expected behaviour?
Arrows should be slick-hidden when breakpoint with arrows=false is hit.
====================================================================
What is observed behaviour?
Arrows are always shown.
====================================================================
More Details
- Which browsers/versions does it happen on? Chrome 58.0.3029.110
- Which jQuery/Slick version are you using? jQuery 1.11.3/Slick 1.6.0
- Did this work before? N/A
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:5
Top GitHub Comments
I can also reproduce this issue. Thanks for creating this @aorinevo
@jacobarriola Could provide some feedback on the proposed fix in the PR. Does it work? Is there another approach?
I think this will help the authors/reviewers figure out what the next steps are for the PR.