You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Response to load images inside an iDangerous.swiper carousel. The images that are visible when the page loads are properly displayed based on screen size, but when scrolling to off-screen content, these images' src are always the initial value - they do not get updated to adapt to screen size. Manually resizing the window "fixes" this.
Is there a way to force Response to update or redraw from code? I could put this in iDangerous.swiper's onscroll callback as a workaround. Thanks.
The text was updated successfully, but these errors were encountered:
@shukriadams I don't think so. I didn't consider that sort of need when I first wrote the plugin but yea I can see the need for it. Did you find a solution?
Hi. No, still haven't found a solution. Thanks for the answer - I guess I'll have to look into writing my own redraw hack, or finding another combination of media handlers.
I'm using Response to load images inside an iDangerous.swiper carousel. The images that are visible when the page loads are properly displayed based on screen size, but when scrolling to off-screen content, these images' src are always the initial value - they do not get updated to adapt to screen size. Manually resizing the window "fixes" this.
Is there a way to force Response to update or redraw from code? I could put this in iDangerous.swiper's onscroll callback as a workaround. Thanks.
The text was updated successfully, but these errors were encountered: