Skip to content

Loading issues related to <picture> elements? #1305

@spookiyu

Description

@spookiyu

My slider loads just fine at first, but from the second load (whether you go to another page and come back, refresh, etc.) you get an eternal loading symbol.

The really weird thing is that you can fix it by resizing the page? There's a breakpoint at 600px wide where the <picture> selects a different image source, and if you resize the window past that point, it fixes the slider completely. It seems the bxSlider isn't adding the necessary tags to my slider div until that resize (see the images below).

I restructured my site some time ago to use these <picture> elements with the breakpoints; I believe it didn't break until very recently, but I could be wrong.

Before resizing:
image

After resizing:
image

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