These are chat archives for openseadragon/openseadragon

14th
Sep 2016
Samuel Allen
@dehuszar
Sep 14 2016 17:16
What's the best way to stopPropagation on OSD event handlers? I am trying to add event handlers to an overlay, but the touchstart event keeps triggering the animation event on the viewer
Samuel Allen
@dehuszar
Sep 14 2016 17:30
I'm not finding a simple way to prevent the capture phase of the event handlers from leaking into child elements with their own events
Antoine Vandecreme
@avandecreme
Sep 14 2016 17:32
@sickrandir indeed, I meant true to disable the transparency handling. Any chance you can look into it?
@msalsbery any idea on @dehuszar 's question?
Samuel Allen
@dehuszar
Sep 14 2016 17:38
@msalsbery @avandecreme I'm seeing that the addEvent method has a useCapture flag, but addHandler does not. Not seeing addEvent as being publicly available though
Samuel Allen
@dehuszar
Sep 14 2016 17:44
@msalsbery @avandecreme ...maybe I can do something like event.stopPropagation() on every item returned by getHandler('handlerName')?
Samuel Allen
@dehuszar
Sep 14 2016 18:39
Buehler?