Skip to content

Commit 1027f17

Browse files
Update src/interface.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 74f51a1 commit 1027f17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export type ScrollConfig = {
4040
* Additional offset in pixels to apply to the scroll position.
4141
* Only effective when using `key` or `index` mode.
4242
* Ignored when using `top` mode.
43-
* When offset is set, the target element will always be aligned to the top of the container.
43+
* When offset is set, the target element will be aligned according to the `align` parameter.
4444
*/
4545
offset?: number;
4646

0 commit comments

Comments
 (0)