Skip to content

Commit

Permalink
feat(database): show indicator when changing column width (#3586)
Browse files Browse the repository at this point in the history
Co-authored-by: zzj3720 <[email protected]>
  • Loading branch information
zqran and zzj3720 committed Jul 17, 2023
1 parent 75669fc commit a676391
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,15 @@ export class ColumnWidthDragBar extends WithDisposable(ShadowlessElement) {
Infinity
)
);
this.dragLeft = width - this.column.width;
preview.display(width);
return {
width,
};
},
onDrop: ({ width }) => {
tableContainer.style.pointerEvents = 'auto';
this.dragLeft = 0;
this.column.updateWidth(width);
preview.remove();
},
Expand Down

1 comment on commit a676391

@vercel
Copy link

@vercel vercel bot commented on a676391 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blocksuite – ./packages/playground

blocksuite-five.vercel.app
blocksuite-git-master-toeverything.vercel.app
blocksuite-toeverything.vercel.app

Please sign in to comment.