Repository navigation
v2.7.0 — Rust 2024 edition, scroll-behavior fixes
Rust 2024 edition migration and scroll-behavior fixes for a stable, predictable overlay.
Changelog (7 commits since v2.6.0)
Architecture
- Rust 2024 edition — migrated from edition 2021 to 2024. Reserved
genkeyword renamed togenerationacrossruntime_loop.rs,search_worker.rs,overlay/host.rs. Explicitunsafe {}blocks with SAFETY comments added inside allunsafe fnbodies.
Bug Fixes
- Scroll-jump on typing —
scrollToSelected()removed fromrender(); typing no longer auto-scrolls to top. - Orphaned scroll on new show —
pendingShowflag set on Show push, consumed by firstapply()with non-empty rows, resetsscrollTopto 0 once per show/hide cycle. - Smooth scroll conflict —
scrollToInstant(0)helper temporarily disables CSSscroll-behavior: smoothfor programmatic resets, restores on next RAF. User-initiated scrolls remain smooth. .selectedclass lost after render —.selectedre-applied via JS afterreplaceChildrendestroys and rebuilds the list.
Commit Log
5c673dechore: migrate to Rust 2024 edition36be982fix(ui): re-apply .selected class after render, never auto-scroll0dc2727fix(ui): reset scrollTop to 0 on fresh show (showPending)4479bbbfix(ui): reset scrollTop at every stage of show cycle03738fbfix(ui): remove scroll-behavior smooth from list393f3f6fix(ui): restore smooth scroll for keyboard/mouse, bypass for programmatic scrollsc352441chore: cleanup leftover raw scrollTop assignment in needsPainted callback