ClosureTable icon indicating copy to clipboard operation
ClosureTable copied to clipboard

reorderSiblings method doesn't update softdeleted node's position

Open snekku-dev opened this issue 3 years ago • 0 comments

Hello, I am trying to manage a tree that includes softdeleted nodes and I noticed whenever I update a node's position all the non-softedeleted nodes correctly increment/decrement their position, but the softdeleted nodes do not, causing certain group of nodes to end up with the same position and messing up the order whenever a new position update is made.

The solution that I think would work would be to include trashed nodes in every scope/builder that. Alternatively I would set the method as protected so that I could override it in the extended model

snekku-dev avatar Dec 16 '22 16:12 snekku-dev