cycle2 icon indicating copy to clipboard operation
cycle2 copied to clipboard

Use visibility:hidden/inherit instead of visibility:hidden/visible

Open DolphRoger opened this issue 10 years ago • 2 comments

Hello,

while implementing this plugin in a website which uses to work with containers that are switched with visiblity (not display, that wouldn't work that way, display:none has 0 width and height) I found that the cycle-images still remained visible. The way to fix it was to change all visibility:"visible" with visibility:"inherit" within the cycle2 code. This works flawlessly now. I'd suggest to add it to the standard, so cycles can be hidden with visibility:hidden on the container.

DolphRoger avatar Jun 10 '15 14:06 DolphRoger

Thank you so much for creating this issue...had the same problem in my page. Needed a slideshow inside an element that has visibility 'visible' or 'hidden' based on HOVER on another element.

jceddy avatar Dec 09 '19 21:12 jceddy

Glad it saved you some time - 4 years later. Still think it should be in the standard, as visibility:inherit instead of visibility:visible would have any negative effect while fixing this odd behaviour.

DolphRoger avatar Dec 09 '19 21:12 DolphRoger