Skip to content

Commit

Permalink
Merge branch 'master' into latest
Browse files Browse the repository at this point in the history
  • Loading branch information
wjgogogo committed May 23, 2024
2 parents 6659e89 + 827462b commit da8b0d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/s2-core/src/interaction/row-column-resize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ export class RowColumnResize extends BaseEvent implements BaseEventImplement {

private bindMouseDown() {
this.spreadsheet.on(S2Event.LAYOUT_RESIZE_MOUSE_DOWN, (event) => {
event?.preventDefault?.();

const shape = event.target as IGroup;
const originalEvent = event.originalEvent as MouseEvent;
const resizeInfo = this.getCellAppendInfo<ResizeInfo>(event.target);
Expand Down

0 comments on commit da8b0d1

Please sign in to comment.