codyhouse / cd-reveal-effects-changelog

Report issues and get notified about changes affecting the 'Reveal Effects' component.
https://codyhouse.co/ds/components/app/reveal-effects
0 stars 0 forks source link

Weird behavior when combined with image-zoom #1

Closed danceshorribly closed 4 years ago

danceshorribly commented 4 years ago

If reveal-effects are combined with image-zoom the zoom only appears in the container.

For example: A two column layout with each containing one figure elements containing one image each and image-zoom class applied to the img-element.

As you can see in the screenshot it also effects the text in the container.

ezgif com-resize

claudia-romano commented 4 years ago

Hi there, thanks for the heads-up! We just pushed a fix to the image-zoom component that solves this issue. You can get the new JS code from the component page: https://codyhouse.co/ds/components/app/image-zoom

Let me know if you are still having issue. Cheers!