openseadragon: Canvas blocks mouseup events on itself.

Calling jQuery(viewer.canvas).on("mouseup", function() { console.log("mouseup"); }); does not work. Neither does using openSeadragon’s .addEvent method for “mouseup”.

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 34 (21 by maintainers)

Commits related to this issue

Most upvoted comments

Interesting. The general procedure is to use OpenSeadragon.MouseTracker to handle events on overlays, but I guess maybe that wouldn’t hook into React very well.

Under the hood setMouseNavEnabled calls the setTracking function of the viewer’s MouseTrackers… at the moment there’s no mechanism to be more specific than all on or all off.

Anyway, MouseTracker is where to look if you want to dig in more.