Skip to content

Releases: robinpoort/KeepTrack-CSS

1.0.4

Choose a tag to compare

@robinpoort robinpoort released this 06 Mar 13:41
7def48c

[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

Choose a tag to compare

@robinpoort robinpoort released this 17 Feb 10:24
3b69759

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

1.0.2

Choose a tag to compare

@robinpoort robinpoort released this 09 Feb 18:13
42bb2cf

Add proper files to package