-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Hello! I use instances of a class that has a proxy object / reactive field ($state) in which all the important information about the element in the dnd grid (column sizes, etc.) and the problem is that when calling the onconsider function, my instance of the class turns into a regular object, losing the state field, which causes errors in the markup like
item.height -
runtime.js:239 Uncaught TypeError: Cannot read properties of undefined (reading 'height')
The screenshot shows that the element that I started moving was replaced in the array from a class to a regular object, losing its state
How can I solve this without changing the structure of the element in the items array? Thanks
Metadata
Metadata
Assignees
Labels
No labels