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
Expand item 1 (which will also select it since you clicked it)
Click Add button
Notice that child ends up rendered with no indentation (level 0)
This happens regardless of how many children you add. If you select 1, don't expand, and add a child, when you expand the child will be rendered at the correct indentation, but any subsequent items added under item 1 after it's expanded will have the same problem.
<buttonid="add" type="button">Add child to selected item</button><divid="grid"></div>
I have a fix for this, and I verified that I can cleanly rebase the branch for #1260 on it and it still works. Probably going to go ahead and work on bringing in SingleQuery and adding a few tests pursuant to #1271 then merge this with that.
I need to re-approach this fix. My original attempt moves all computation of indentation level to insertRow, which is problematic for subsequent refreshCell calls.
I've fixed the fix (yo dawg) and added another test for the second issue. I've also confirmed that my branch now resolves the issue as I originally discovered it in my application.
I'm going to look at #1277, then probably merge both at the same time.
Steps to reproduce with code below:
This happens regardless of how many children you add. If you select 1, don't expand, and add a child, when you expand the child will be rendered at the correct indentation, but any subsequent items added under item 1 after it's expanded will have the same problem.
The text was updated successfully, but these errors were encountered: