Project

General

Profile

WTree Has extra empty node in 3.3.0

Added by Thomas Suckow about 11 years ago

A coworker is seeing odd behavior using the default theme in 3.3.0.

When he uses a WTree, an extra Empty root node appears as a parent of his (you can even toggle it with the + button). This extra node also causes the tree to be wider than its container with the node text extending outside the box. The Dom shows it as being a

element at the same level as the

with styles "Wt-item Wt-end Wt-root". Oddly enough, if we add Wt-tree to the containing div (the one with unselectable) then it doesn't appear.