Skip to content

Commit

Permalink
chore: rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Sep 20, 2024
1 parent a00367c commit 71fa5d0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hooks/useFrameWheel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ export default function useFrameWheel(
raf.cancel(nextFrameRef.current);

// Do nothing when scroll at the edge, Skip check when is in scroll
if (originScroll(false, deltaY)) {
return;
}
if (originScroll(false, deltaY)) return;

// Skip if nest List has handled this event
const event = e as WheelEvent & {
Expand Down

0 comments on commit 71fa5d0

Please sign in to comment.