Skip to content

Commit

Permalink
fix: 修复滚动边界问题 close antvis#2720
Browse files Browse the repository at this point in the history
  • Loading branch information
Harvey Wang committed May 13, 2024
1 parent 9a15144 commit 7a5340d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/s2-core/src/facet/base-facet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit 7a5340d

Please sign in to comment.