Skip to content

v2.6.5

Choose a tag to compare

@nutteloost nutteloost released this 22 Oct 13:08

Simple Swipe Card v2.6.5

Bug Fixes 🩹

  • Grid Layout Duplicate Cards: Fixed critical bug where cards would display duplicate content when swiping, specifically when the card was placed inside grid-based layouts like layout-card. After refreshing the page, swiping to the second card would show the same content as the first card (though with correct dimensions). This happened because grid layouts disconnect and reconnect cards during initialization, causing two builds to run simultaneously and both adding their cards to the same array. The card now uses build timestamps to detect and properly abort superseded builds, ensuring only the current build's cards are displayed.