Skip to content

Commit

Permalink
passiveをfalseに
Browse files Browse the repository at this point in the history
  • Loading branch information
k35o authored Sep 15, 2024
1 parent 04dcc4d commit cfff01e
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ export const useControlPanel = () => {
setActivePosition(null);
window.removeEventListener('touchmove', touchMoveHandler);
});
window.addEventListener('touchmove', touchMoveHandler);
window.addEventListener(
'touchmove',
touchMoveHandler,
{
passive: false,
},
);
},
[],
);
Expand Down

0 comments on commit cfff01e

Please sign in to comment.