Skip to content

Commit 372f10e

Browse files
authored
fix(compute): publish new version with compute library (#332)
1 parent 40e6af9 commit 372f10e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ scrollIntoView(node, {
194194

195195
Check the demo to see an [example with popmotion and a spring transition](https://scroll-into-view-if-needed.netlify.com/#override-behavior).
196196

197+
> If you only need the custom behavior you might be better off by using the compute library directly: https://github.com/stipsan/compute-scroll-into-view
198+
197199
#### block
198200

199201
Type: `'start' | 'center' | 'end' | 'nearest'`<br> Default: `'center'`

0 commit comments

Comments
 (0)