You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been getting a lot of errors from Sentry with the following
Upon saving the client side source code, I grep'ed DragEvent and could only find an instance of it from posthog's source code. This only happens on certain mobile browsers.
Please describe. If this affects the front-end, screenshots would be of great help.
Expected behavior
DragEvent shouldn't be accessed as a variable unless it's defined.
How to reproduce
Unable to reproduce given that I don't know the code path that triggers DragEvent. I currently get it via Sentry.
Environment
PostHog Cloud
self-hosted PostHog, version/commit: please provide
Additional context
Thank you for your bug report – we love squashing them!
Hey @mariusandra , any ideas on whether this would break the web app? We're still seeing the error pretty frequently and aren't sure how to reproduce on our devices.
If you know when this would get resolved, that would be great!
We are also getting a lot of these errors since we deployed the posthog client today. They are all from TouchMove on devices where DragMove doesn't exist.
t instanceof MouseEvent
? e.IncrementalSource.MouseMove
: t instanceof DragEvent
? e.IncrementalSource.Drag
: e.IncrementalSource.TouchMove
Hey, it seems that this issue is fixed upstream by rrweb-io/rrweb#630 and rrweb-io/rrweb#652 . Unfortunately those changes are not yet released in a new 1.0.3 version of rrweb.
@Yuyz0112 I see you made a commit to release 1.0.3, but then it was never published. Is there any way to get this version out? :)
Activity
[-]Can't find Drag Event[/-][+]"Can't find DragEvent" error on mobile web[/+]mariusandra commentedon Jun 11, 2021
We also have one such report in our sentry.
It seems the bug comes from the the session recorder (
recorder.js). Possibly updatingrrwebin posthog-js might fix it... To be continued.andyzg commentedon Jun 15, 2021
Hey @mariusandra , any ideas on whether this would break the web app? We're still seeing the error pretty frequently and aren't sure how to reproduce on our devices.
If you know when this would get resolved, that would be great!
studious commentedon Aug 24, 2021
We are also getting a lot of these errors since we deployed the posthog client today. They are all from TouchMove on devices where DragMove doesn't exist.
mariusandra commentedon Aug 24, 2021
Hey, it seems that this issue is fixed upstream by rrweb-io/rrweb#630 and rrweb-io/rrweb#652 . Unfortunately those changes are not yet released in a new 1.0.3 version of
rrweb.@Yuyz0112 I see you made a commit to release 1.0.3, but then it was never published. Is there any way to get this version out? :)
Yuyz0112 commentedon Aug 29, 2021
@mariusandra 1.0.3 has been published now.
Twixes commentedon Aug 29, 2021
Thank you @Yuyz0112!