I searched the whole day and still have no idea what happens. Can you give me a hint?
Besides other things, I tried to dynamically create DOM nodes with click handlers via groupTemplate, but this also did not work.
Somehow, timeline-plus (or the Hammer.js library) is swallowing the click events. Reason could be groups re-rendering in _onGroupClick function in ItemSet.js (DOM nodes no longer existing, so no bubbling? Just an idea...)
Fun fact: after long pressing the link, it is followed. Maybe because Hammer.js triggers an "press" event which - at least based on my research - isn't processed by timeline-plus, and it triggers a click Event which then triggers default behaviour?
Links in group labels having
nestedGroups
are not followed.See JS Bin.
I searched the whole day and still have no idea what happens. Can you give me a hint?
Besides other things, I tried to dynamically create DOM nodes with click handlers via
groupTemplate
, but this also did not work.Somehow,
timeline-plus
(or the Hammer.js library) is swallowing the click events. Reason could be groups re-rendering in_onGroupClick
function inItemSet.js
(DOM nodes no longer existing, so no bubbling? Just an idea...)Fun fact: after long pressing the link, it is followed. Maybe because Hammer.js triggers an "press" event which - at least based on my research - isn't processed by
timeline-plus
, and it triggers aclick
Event which then triggers default behaviour?Any help greatly appreciated!