Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed May 10, 2024
1 parent 4bc0167 commit e026dde
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ export function GridItemResizer( { clientId, onChange } ) {
] );

/*
* Resizer dummy is an empty div that exists only so we can
* get the bounding client rect of the resizer element. This is
* necessary because the resizer exists outside of the iframe, so
* its bounding client rect isn't the same as the block element's.
* This ref is necessary get the bounding client rect of the resizer,
* because it exists outside of the iframe, so its bounding client
* rect isn't the same as the block element's.
*/
const resizerRef = useRef( null );

Expand Down

0 comments on commit e026dde

Please sign in to comment.