Skip to content

Commit

Permalink
Improve code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Sep 4, 2024
1 parent 6b8d3e9 commit ca59828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/compose/src/hooks/use-drop-zone/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ export default function useDropZone( {

// If we're moving in/out of an insertion point then don't trigger
// the onDragLeave event. This is to prevent the dropzone from
// being hidden when the user is dragging a block in/over/around
// a block and a nearby insertion point.
// trigger any unwanted side effects when the user is likely to
// be moving the cursor quickly over the insertion point.
if (
isInsertionPoint( event.relatedTarget ) ||
isInsertionPoint( event.target )
Expand Down

0 comments on commit ca59828

Please sign in to comment.