-
-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'self' of null #402
Comments
Hi @Vluf ! Can you give specific steps how to reproduce this error? A reduced test case would be nice. |
Hi @niklasramo, thanks for getting back to me! This issue happens during dragging tiles. We happen to log the dragging, so right before crashing it's still logging the drag events.
I'm more than happy to investigate further or deploy some logging for this, but as of right now I cannot reproduce. Any guidance in how to proceed from here? |
I managed to reproduce this issue once while autoscrolling, but not twice.. no matter how hard I tried to do wonky stuff. It's definitely an edge case and it's definitely very rare. This issue is probably linked to #403 , both errors pop up when stuff goes sideways. The first thing we need to do is find the the steps how to reproduce it or at least narrow down the scenario as much as possible. Would be awesome if you could help with that @Vluf ❤️ I have no clear steps as to where to start, but autoscrolling is my best bet. It is somehow linked to that. |
I've been trying to break our production app for quite a while now and can't seem to introduce this bug. Do you have any indication on what you did that one time you were able to reproduce? |
My best guess is it's happening right after autoscrolling stops, probably linked somehow to releasing a dragged item during autoscroll. |
I'm getting reports from Chrome 83 on Mac OS X 10.14.6 as well |
@Vluf I think I fixed this in the latest version v0.9.2, let me know if you still encounter this issue with that version. |
@niklasramo According to Sentry, this is indeed fixed in v0.9.2. Thanks! |
I'm stumbling on an error:
Cannot read property 'self' of null
It occurs at
dist/muuri.module.js in getOffset at line 2567:15
, meaning right here:muuri/src/utils/getOffsetDiff.js
Line 42 in ebe6eb0
Seems like a problem in
ItemDrag
, passing a null value togetOffsetDiff
?Any help is appreciated!
The text was updated successfully, but these errors were encountered: