View Full Version : [OPEN] [OPEN] DOM error on KITCKENSYNC on tree component search

16 Nov 2017, 6:28 AM
Hi, in my project I would like to use an approach like the one that Ext uses in "Kitcken sync" NavTree list.
I found a bug and it's present even in kitckensync.
When I use the searchfield on top of treelist the nodes are expanded.
Then I delete the search text.
When I click on the expanded nodes to collapse it the node can't collapse and I have an error on the browser console.
Cannot read property 'style' of null in the method nodeCollapseBegin
or in the minified code on kitckensync "d.dom is null"

Could you help me please?

16 Nov 2017, 9:49 AM
Can you link me to the example you are referring to?

17 Nov 2017, 12:12 AM
Can you link me to the example you are referring to?
Hi Tristan,
the bug isn't in an example but in the examples container application.
You can reproduce the bug on kitckensync https://examples.sencha.com/ExtReact/6.5.1/kitchensink/#/components

Click on the menu icon on the top-left corner
In the search field input "button"
The underline treelist is filtered
Click on the clear icon on the search field
The treelist will show all nodes expanded
Click on "Buttons" node to collapse it
The clicked node can't collapse and, if you have the browser debug tools opened you can read the exception message: TypeError: d.dom is null

17 Nov 2017, 11:13 AM
Thanks, now I can reproduce it. I will get this filed as a bug.

17 Nov 2017, 11:15 AM
Thanks for the report! I have opened a bug in our bug tracker.