By setting style.timeline.createNewEventMethod to .tap, you can trigger the added action when clicking on the timeline.
Note: In the past, the call to the forceDeselectEvent method could be canceled by isEnabledDefaultTapGestureRecognizer, but now it is necessary to additionally set isEnabledForceDeselectEvent = false
By setting
style.timeline.createNewEventMethod
to.tap
, you can trigger the added action when clicking on the timeline.Note: In the past, the call to the
forceDeselectEvent
method could be canceled byisEnabledDefaultTapGestureRecognizer
, but now it is necessary to additionally setisEnabledForceDeselectEvent = false