body-scroll-lock icon indicating copy to clipboard operation
body-scroll-lock copied to clipboard

allowTouchMove method should support us with the event

Open ahmed-saber opened this issue 4 years ago • 1 comments

Hi, I really like this library, but I have an issue with the allowTouchMove method it only gives us the element but not the event itself and in my case, I need to track the user movement?

ahmed-saber avatar Jan 08 '21 15:01 ahmed-saber

You are right, the event should be passed as the second argument.

diachedelic avatar Jan 18 '21 11:01 diachedelic