vakata/jstree

Bug overlapping nodes

stla opened this issue · 1 comments

stla commented

Hello,

I do a tree with this nodes list:

[
  {
    "text": "RootA",
    "type": "foo",
    "children": [
      {
        "text": "ChildA1",
        "type": "child",
        "children": [
          {
            "text": "ChildA12",
            "type": "child"
          }
        ]
      },
      {
        "text": "ChildA2",
        "type": "child"
      }
    ]
  },
  {
    "text": "RootB",
    "type": "foo",
    "children": [
      {
        "text": "ChildB1",
        "type": "child"
      },
      {
        "text": "ChildB2",
        "type": "child"
      }
    ]
  }
] 

And then there is this bug:

jstreebug

I don't know whether this is related, but I recently upgraded to 3.3.16.

stla commented

Sorry, this works. There was an error in my code.