Skip to content

Commit

Permalink
Merge 1d715dc into 5390f40
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdaodao committed Nov 2, 2021
2 parents 5390f40 + 1d715dc commit 9aeef00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/table/src/table-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export default {
let rect = target.getBoundingClientRect();

const bodyStyle = document.body.style;
if (rect.width > 12 && rect.right - event.pageX < 8) {
if (rect.width > 12 && rect.right - event.clientX < 8) {
bodyStyle.cursor = 'col-resize';
if (hasClass(target, 'is-sortable')) {
target.style.cursor = 'col-resize';
Expand Down

0 comments on commit 9aeef00

Please sign in to comment.