fix(Tabs): lock scroll not work when using scrollspy (#5727)
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ export function scrollTopTo(
|
||||
if ((isDown && current < to) || (!isDown && current > to)) {
|
||||
raf(animate);
|
||||
} else if (callback) {
|
||||
callback();
|
||||
raf(callback as FrameRequestCallback);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user