• Tom Quirk's avatar
    Fix imageLoading bug when scrolling back to design · 36f7b212
    Tom Quirk authored
    imageLoading was being set incorrectly (every time the item appeared).
    This meant that even if the image was not loading, the loading
    spinner would appear if the image appeared in view again.
    
    This commit changes the logic so that we only set imageLoading if the
    image has never appeared in view.
    
    This commit also adds and reorganises some tests to ensure this path is
    covered.
    36f7b212
fix-design-item-loading-on-scroll.yml 103 Bytes