Skip to content

iDangerous swiper + Response + offscreen content ; layout not updated. #53

Description

@shukriadams

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions