Skip to main content

Responsive image width set to w_0 when using hidden image

Comments

3 comments

  • Itay Taragano

    Hi Shawn.

    I'd recommend having a JS trigger, so whenever the section is expanded, "cl.responsive()" can be re-invoked, and then at that point, the image will have an actual "real estate" in the DOM, and the SDK can re-set the width to the right one.

    Please let me know if this works for you?

    0
  • Shawn Oatley

    Hi Itay,

     

    Yes it did work.  I was able to find a javascript event for when the toggle appeared and fired the .responsive() call on that event.

     

    Thanks!

    Shawn

    0
  • Roee Ben Ari

    Thanks for the update, Shawn. 

    Please let us know if you need anything else. 

    0

Post is closed for comments.