You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cached geometry tracking with automatic invalidation for DOM changes, resize, scrolling, and animations, including tracked shadow roots.
hasta.invalidate() and controller.invalidate() to refresh all target bounds after changes such as CSSOM edits. target.invalidate() refreshes one target.
Regression tests for geometry caching, spatial queries, active rules, and shared prediction misses.
GitHub repository link in the documentation header.
Changed
Geometry is cached by default. Set bounds: 'frame' to retain the per-frame measurement policy of 0.3.0. Cached bounds preserve their actual measuredAt timestamp.
Reduced runtime work with a spatial grid, reused target and rule snapshots, and shared miss bookkeeping while preserving callback stability and cancellation behavior.
Demo controls use colored inset shadows for hover, focus, and prediction highlights.
Fixed
Limited documentation tests to essential behavior: framework selection, copying, navigation, preferences, demo callbacks, and social metadata. Removed visual and contrast checks; library coverage is unchanged.