From 24591fbb65d9e760a566223a0a0fde6ce360c189 Mon Sep 17 00:00:00 2001 From: wyh888 <18819467659@163.com> Date: Tue, 14 May 2024 11:38:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E8=BE=B9=E7=95=8C=E9=97=AE=E9=A2=98=20close=20#2720=20(#2721)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Harvey Wang --- packages/s2-core/src/facet/base-facet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/s2-core/src/facet/base-facet.ts b/packages/s2-core/src/facet/base-facet.ts index 6a6cab381f..9cd354bfaa 100644 --- a/packages/s2-core/src/facet/base-facet.ts +++ b/packages/s2-core/src/facet/base-facet.ts @@ -505,7 +505,7 @@ export abstract class BaseFacet { onContainerWheelForPc = () => { const canvas = this.spreadsheet.getCanvasElement(); - canvas?.addEventListener('wheel', this.onWheel, { passive: true }); + canvas?.addEventListener('wheel', this.onWheel); }; onContainerWheelForMobile = () => {