Skip to content

Commit

Permalink
fix: remove passive false
Browse files Browse the repository at this point in the history
  • Loading branch information
Palanikannan1437 committed Oct 18, 2024
1 parent dd7e726 commit c64f051
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const CustomImageBlock: React.FC<CustomImageBlockProps> = (props) => {
window.addEventListener("mousemove", handleResize);
window.addEventListener("mouseup", handleResizeEnd);
window.addEventListener("mouseleave", handleResizeEnd);
window.addEventListener("touchmove", handleResize, { passive: false });
window.addEventListener("touchmove", handleResize);
window.addEventListener("touchend", handleResizeEnd);

return () => {
Expand Down

0 comments on commit c64f051

Please sign in to comment.