From 7a5340d6f4095ef033d23f157ed282fda8b194ed Mon Sep 17 00:00:00 2001 From: Harvey Wang Date: Mon, 13 May 2024 13:52: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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 = () => {