We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2a0e05 commit e862213Copy full SHA for e862213
src/scrollTo.js
@@ -166,7 +166,7 @@ export const scroller = () => {
166
var cumulativeOffsetElement = _.cumulativeOffset(element);
167
168
if (typeof offset === "function") {
169
- offset = offset();
+ offset = offset(element, container);
170
}
171
172
initialY = scrollTop(container);
vue-scrollto.js
@@ -378,7 +378,7 @@
378
379
380
381
382
383
384
0 commit comments