Skip to content

Commit

Permalink
fix: 移除多余 preventDefault 场景
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Feb 28, 2024
1 parent 57c0012 commit fb98e42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@ export class BaseBrushSelection
};

protected mouseDown(event: CanvasEvent) {
event?.preventDefault?.();
if (this.spreadsheet.interaction.hasIntercepts([InterceptType.CLICK])) {
return;
}
Expand Down
2 changes: 0 additions & 2 deletions packages/s2-core/src/interaction/row-column-resize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,6 @@ export class RowColumnResize extends BaseEvent implements BaseEventImplement {
return;
}

event?.preventDefault?.();

const resizeInfo = this.getResizeInfo();
const resizeShapes =
(this.resizeReferenceGroup?.children as DisplayObject[]) || [];
Expand Down

0 comments on commit fb98e42

Please sign in to comment.