tiberiuzuld/angular-gridster2

Cannot read properties of undefined (reading 'renderer')

ZentoDH opened this issue · 5 comments

Cannot read properties of undefined (reading 'renderer'). This error is thrown once in a while in our production app. I've noticed it's thrown here, as highlighted in the screenshot.
Screenshot 2023-01-24 at 15 50 39

Any updates on this?

I've the same error but is another function. We don't have a clue how to reproduce it.

image

Any update on the first error and in this?

@abpardal setTimeout will run seperately... thats why you are getting this...

@Vasanthvivi, why gridsterItem is undefined? Can be this setTimeout be after the definition of the gridsterItem?
cc: @tiberiuzuld

@abpardal , after dragStop the setTimeout is getting called so it is undefined at that context
cc: @tiberiuzuld