Skip to content

Commit

Permalink
fix: 修复滚动边界问题 close #2720 (#2721)
Browse files Browse the repository at this point in the history
Co-authored-by: Harvey Wang <[email protected]>
  • Loading branch information
wyh888 and Harvey Wang authored May 14, 2024
1 parent 9a15144 commit 24591fb
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 24591fb

Please sign in to comment.