Skip to content

Commit

Permalink
Resize to correct columns
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed May 7, 2024
1 parent 4603ff0 commit 9ccf036
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ export function GridItemResizer( { clientId, onChange } ) {
);
const columnEnd = getClosestLine(
gridColumnLines,
blockElement.offsetLeft + boxElement.offsetWidth
blockElement.offsetLeft +
( boxElement.offsetWidth + boxElement.offsetLeft )
);
const rowEnd = getClosestLine(
gridRowLines,
Expand Down

0 comments on commit 9ccf036

Please sign in to comment.