diff --git a/app/lib/components/Room.jsx b/app/lib/components/Room.jsx index f388b88..cf394ef 100644 --- a/app/lib/components/Room.jsx +++ b/app/lib/components/Room.jsx @@ -49,24 +49,16 @@ class Room extends React.Component this.waitForHide(); } - handleTouchMove = (event) => - { - event.preventDefault(); - event.stopPropagation(); - }; - componentDidMount() { window.addEventListener('mousemove', this.handleMovement); window.addEventListener('touchstart', this.handleMovement); - document.body.addEventListener('touchmove', this.handleTouchMove, false); } componentWillUnmount() { window.removeEventListener('mousemove', this.handleMovement); window.removeEventListener('touchstart', this.handleMovement); - document.body.removeEventListener('touchmove', this.handleTouchMove); } render()