D3 Tree View Widget -- Working, but on click or drag/drop, Tree-view is re-centered outside the viewer area.
Hello, I’ve got this widget working—great stuff! Only thing I can’t seem to duplicate is keeping the tree-view in the window. When I click on a node or drag/drop to move a node, the changes are made (expand/collapse or drag/drop placement), but the tree-view is re-centered outside the visible area. If you scroll (zoom) out, eventually you can see the tree-view (tiny) on the right, then drag it to re-center it, then zoom back in. Appreciate any ideas or help!
Great to see you got my widget all set up. Did you use my demo project to check the settings? Can you reproduce this in the demo project? If so, let me know and I will take a look.
Thanks for the reply. I did use the demo project—very helpful, thank you! I can’t quite reproduce it. I’ll futz around some more.
Please try inline-style “Float:left” and see if that helps.