cycle2 icon indicating copy to clipboard operation
cycle2 copied to clipboard

Active Slide z-index issue

Open cgmiele opened this issue 12 years ago • 6 comments

I'm integrating cycle2 into my site and i'm having trouble with z-index on the slides. the active slide doesn't have the highest z-index value resulting in click events not working in the active slide. I have a mixed slider with

  • 's and a youtube video and when the video is the active slide you can't click on the button for it to play because other slides are on top. Am I doing something wrong?

    cgmiele avatar Feb 10 '14 14:02 cgmiele
  • while waiting for an answer i did a css hack to get it to work:

    .cycle-slide.cycle-slide-active{z-index:150 !important;}

    cgmiele avatar Feb 14 '14 17:02 cgmiele

    Your link is dead. Please update or close the issue.

    albell avatar Feb 19 '14 19:02 albell

    I ran into the same issue. The active slide has z-index: 99 and the previous slide has z-index: 100. Since the slides only have visibility: none and opacity: 0 the previous slide still sits on top of the active one and receives the clicks intended for the currently visible (active) slide.

    dragunoff avatar Dec 16 '14 08:12 dragunoff

    It turned out that the problem was caused by my own CSS. But I still wonder why the previous slide has a higher z-index value than the current one?

    dragunoff avatar Dec 16 '14 09:12 dragunoff

    Had the same issue, couldn't find an issue with my own CSS, had to add the following to fix the issue, which I don't like. .cycle-slide-active { z-index: 1000 !important; }

    nickfmc avatar Apr 02 '15 19:04 nickfmc

    I realize this is an old issue, but still open and I'm experiencing the same thing. Did anyone discover what causes this?

    nocean avatar Jun 13 '16 20:06 nocean