ApplicationInsights-JS icon indicating copy to clipboard operation
ApplicationInsights-JS copied to clipboard

[BUG] Click Analytics config TrackElementsType does not filter elements as expected

Open Karlie-777 opened this issue 6 months ago • 0 comments

Changes made in https://github.com/microsoft/ApplicationInsights-JS/pull/2504 (https://github.com/microsoft/ApplicationInsights-JS/commit/b5a24d524bc0cae3c48c7010d88cef5f982449c8) introduced an issue when evaluating if events exist inside trackElementsType list . element.control && _clickCaptureElements[element.control.tagName.toUpperCase() proceeds the array values instead of array indexes.

Karlie-777 avatar Jun 16 '25 22:06 Karlie-777