Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:linxianxi/react-selectable-box into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
linxianxi committed Feb 26, 2024
2 parents e07e8ff + 7978398 commit 5d3648a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const isInRange = (
const scrollTop = scrollContainer.scrollTop;

const { top: boxTop, left: boxLeft, width: boxWidth, height: boxHeight } = boxRect;

console.log('test')
if (rule === 'collision') {
return (
rectLeft - containerLeft + scrollLeft < boxLeft + boxWidth &&
Expand Down

0 comments on commit 5d3648a

Please sign in to comment.