vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.13k stars 1.39k forks source link

Bug overlapping nodes #2748

Closed stla closed 10 months ago

stla commented 11 months ago

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 10 months ago

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