fix: 修复锚点滚动回显的问题 (#3519)
This commit is contained in:
parent
6f22da1cd7
commit
3925f10bcc
|
@ -122,7 +122,7 @@ export const handleScroll = (state: IAnchorRenderlessParams['state']) => () => {
|
||||||
state.scrollTimer = window.setTimeout(() => {
|
state.scrollTimer = window.setTimeout(() => {
|
||||||
state.isScroll = false
|
state.isScroll = false
|
||||||
clearTimeout(state.scrollTimer)
|
clearTimeout(state.scrollTimer)
|
||||||
}, 200)
|
}, 300)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 设置滚动偏移量
|
// 设置滚动偏移量
|
||||||
|
|
Loading…
Reference in New Issue