Skip to content

Commit 075a104

Browse files
committed
fix: slow scroll timeout to fit in the smooth behavior duration
1 parent bdbb23f commit 075a104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store/ChartAdapterStore.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export default class ChartAdapterStore {
289289
this.touchValues = { ...this.touchValues, deltaXTotal, deltaYTotal };
290290

291291
if (isForcedScrollArea && isVerticalScroll) {
292-
e.stopPropagation();
292+
e.stopImmediatePropagation();
293293
if (shouldForceMaxScroll) {
294294
clearTimeout(this.scrollChartParentOnTouchTimer);
295295
this.scrollableChartParent?.scrollTo({
@@ -309,7 +309,7 @@ export default class ChartAdapterStore {
309309
});
310310
this.scrollChartParentOnTouchTimer = undefined;
311311
this.touchValues = { ...this.touchValues, deltaYTotal: 0, deltaXTotal: 0 };
312-
}, 100);
312+
}, 150);
313313
}
314314
}
315315
}

0 commit comments

Comments
 (0)