fix(pinned): keep the scroll helper doc comment to two lines

This commit is contained in:
Ritvik Sardana
2026-09-30 13:30:57 +05:30
parent 0b24393480
commit ba0e0a7b8f

View File

@@ -1,8 +1,5 @@
/**
* Scrolls `scroller` so the row with id `rowId` sits mid-view, eased over
* `durationMs`, and resolves once it lands. The browser's smooth scroll picks
* its own duration and has no reliable "done", which the pinned bar waits on.
*/
/** Eases the row to mid-view and resolves on arrival; the browser's smooth
* scroll has no reliable "done", and the pinned bar waits on it. */
export function glideToRow(
scroller: HTMLElement,
rowId: string,