Skip to content

Releases: robinpoort/KeepTrack-CSS

1.0.4

06 Mar 13:41
7def48c

Choose a tag to compare

[1.0.4] - 2026-03-06

Fixed

  • stickyStateCache was not reset in destroy(), causing stale sticky state after re-init
  • stickyStateCache was not invalidated in invalidateStickyTopCache(), causing stale results after resize/DOM mutation
  • checkStickyElements mutated the config cache object as a side effect; replaced with a dedicated stickyStateCache WeakMap

Changed

  • TypeScript types extracted from build.js to src/keepTrack.d.ts for better IDE support
  • observe() now logs a warning when the element has no data-keeptrack attribute
  • sameTypes() simplified with Array.prototype.every
  • README updated to document KeepTrack() without new

1.0.3

17 Feb 10:24
3b69759

Choose a tag to compare

feat: add data-keeptrack-id prefix support and update parent-target behavior

1.0.2

09 Feb 18:13
42bb2cf

Choose a tag to compare

Add proper files to package