getsentry / rrweb

record and replay the web
https://www.rrweb.io/
Other
9 stars 4 forks source link

fix(rrweb): null check for pointerEl #202

Closed michellewzhang closed 3 weeks ago

michellewzhang commented 3 weeks ago

fixes JAVASCRIPT-2THH

we remove the pointerEl when a TouchEnd event occurs, so we need to do a null check to make sure it exists before trying to access its properties.