PDA

View Full Version : [OPEN] [#434] Treepanel select does not fire Itemclick event



Fergus
Feb 03, 2014, 10:31 AM
Hi,
In the treepanel it is possible to select a node without the itemclick event firing. But the select event does fire.

If you open the example http://examples2.ext.net/#/TreePanel/Basic/SiteMap/ you can see this happen.

If you expand the first leaf nodes "icon summary" and "Overview" and bring your mouse down to the very bottom of the node and click the node will get selected but does not fire the itemclick event.

This can cause problems as the selected node is coming up as the new selected node, but the logic for that node click has not fired.

It seems to be like a 1 pixel difference in the size of the select area compared to the itemclick area.

I presume it is not meant to be like this.

Regards
Fergus

Daniil
Feb 03, 2014, 3:07 PM
Hi @Fergus,

Reproduced. Thank you for the report. Seems the bug appeared between v2.2 and v2.3. I will investigate.

Daniil
Feb 05, 2014, 4:43 AM
A very weird problem. The click event is not fired on the DOM level. But, for example, the mousedown event is fired. I don't see any reason why.

You can use the ItemMouseDown event instead of ItemClick. Or the Select one. They appear to be fired consistently.

Daniil
Feb 18, 2014, 6:24 AM
Created an Issue:
https://github.com/extnet/Ext.NET/issues/434

betamax
Apr 08, 2015, 7:44 PM
I am working on our upgrade to Et.Net 3x and I am stumped by this issue. I have tried all the "click" and "mouse" events with no success. Can we brainstorm a work around?

Daniil
Apr 09, 2015, 2:50 PM
Hi @betamax,

It looks you have encountered this issue:
https://github.com/extnet/Ext.NET/issues/739

Please clarify are you using the public 3.1.0 release or the latest from SVN? The issue is reproducible with the public release, but it should not with the latest from SVN trunk.