Controls disappear when ScrHorz is used. This is a known issue with Cycle2. Link to the issue and proposed resolution:
https://github.com/malsup/cycle2/issues/87#issuecomment-224206256
The problem occurs when your pager and/or prev/next links are children of div.cycle-slideshow. Once you click a link if you are using an animation that involves animating content from outside the element (e.g. scrollHorz) the overflow kicks in and you can no longer see anything outside of div.cycle-slideshow. Forcing visible overflow won't work as you'll get unwanted content around your main element.
To fix you need to simply forgo cycle2's automatic pager and link detection and instead place them outside of div.cycle-slideshow — and set the data-cycle-prev and data-cylce-next properties to explicitly tell it where to find them.
Comments
Comment #2
jstamper commentedA temporary fix for anyone else that runs in to this issue. I copied views-slideshow-cycle2.html.twig into my theme templates folder and changed the markup to:
Then I attached a behavior in my theme .js file and added the code:
Restyled my buttons and works like a champ. Hope this helps.
Comment #3
kmajzlik commentedNow as you describe it i remember we had same issue and use Fade rather than hunting bug in JS library :-)
What to do issue? We can add something like cycle-slidshow-wrapper + this piece of code. Or just close it(people can search it)?
Comment #4
jstamper commentedI think this should be resolved at the module level if possible. There's 2 routes as I see it.
1) Since Cycle2 looks for the controls only within the Slideshow, pulling the controls permanently out of the .cycle-slideshow div means you'll have to add the JS above. This is the best option since the majority of users will want some sort slide/change transition effect. The only issue I see with this option is multiple slideshows on the same page. The JS code above should work with multiple slide shows but you'll want to test that first.
2) Like you said, close this and let people search for it. But also document it on the main project page because, like I said, people will want slide transitions.
Thanks for being so responsive and I'll help where I can.