mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Dragging the scrollbar thumb of a lazy list or grid scrolled by the dragged distance, and a large scrollBy composes and measures every item in between. On the Magisk log, fast thumb drags froze the UI for up to several seconds per frame. When the target is more than a viewport away, jump to the matching item index with scrollToItem() instead; shorter moves still scroll by pixels so slow drags stay smooth. Assisted-by: Claude Opus 5.5