fix(Tabs): lock scroll not work when using scrollspy (#5727)

This commit is contained in:
chenjiahan
2020-03-02 19:41:07 +08:00
parent c401b8d7af
commit c4be70c4e8
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export function scrollTopTo(
if ((isDown && current < to) || (!isDown && current > to)) {
raf(animate);
} else if (callback) {
callback();
raf(callback as FrameRequestCallback);
}
}