Hi all,
We're upgrading from ZoomCharts 1.17.2 to 1.17.3 and our TimeChart
behaves differently: With the info panel visible, when clicking on it, the click event seems to carry a different target, as explained below. In our case the info panel content is generated by the info.advanced.contentsFunction
.
On v1.17.2 the target
property of the click event received by the events.onClick
callback points to the lowest node that was clicked, that is, the uppermost children of the info panel DOM tree.
Nevertheless on v1.17.3 the target
of the event seems to point to the div.DVSL-interaction
, which is basically the container of the chart area.
It's not a z-index
issue, as it seems that hasn't changed.
The problem is that in our application we need to identify which button in the info popup was clicked, but with v1.17.3 it seems we can't use the event's target
property.
Is this the expected behavior? Any idea about how to workaround it?
Thanks in advance!