We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43e6e38 commit 70d3cdcCopy full SHA for 70d3cdc
packages/devui-vue/devui/virtual-list/src/virtual-list.tsx
@@ -240,7 +240,10 @@ export default defineComponent({
240
if (Math.abs(newScrollTop - state.scrollTop) >= 1) {
241
syncScrollTop(newScrollTop);
242
}
243
- barRef?.value?.onShowBar?.();
+
244
+ if (Math.abs(newScrollTop - state.scrollTop) !== 0) {
245
+ barRef?.value?.onShowBar?.();
246
+ }
247
ctx.emit('scroll', e);
248
};
249
0 commit comments