Lazy Scroll Helper Kit

Four small lazy-list utilities worth carrying between apps — scroll-direction as derived state, centre-an-item scrolling that waits a frame before measuring, an item's visible percentage, and a lookup into the visible window — with the trap each one hides. Use when a hide-on-scroll bar flickers or sticks, when scrolling to an item lands it at the edge or does nothing, or when viewport arithmetic returns values for the wrong item.

maxrave-dev aff76d5 6.9 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/lazy-scroll-helper-kit commit aff76d5ca4

Frequently asked questions

npx skillmds@latest add maxrave-dev/lazy-scroll-helper-kit