Mark Salsbery
Mark Salsbery
Yeah my first instinct is that the cleanup function in useEffect is called after the parent element is deleted. Although, I've never had an issue in React (yet) so possibly...
WIP Note to self: Add nonprimary-move (and possibly resulting gesture) event support
@chiliblast Only non-primary pointer button events are handled with nonPrimaryPressHandler/nonPrimaryReleaseHandler. Assuming your left pointer button is the primary button, you'd use pressHandler/releaseHandler. clickHandler and dragHandler only work on primary pointer...
@chiliblast Attaching a MouseTracker to the Viewer.container element won't work, as primary button events don't bubble from the Viewer.element element (in v3.0.0 they will) It may be easier to subscribe...
> WIP Note to self: Add nonprimary-move (and possibly resulting gesture) event support WIP #2258
> Hi @iangilman — this is helpful! Although it differs from the standard left-mouse pan behavior in that the Mousetracker doesn't fire when you drag past the edge of the...
@RonyKordahi There's only 4 ControlDock locations on the viewer, and I'm not sure there's a well defined behavior if you try to place the reference strip in a ControlDock that...
@RonyKordahi Using the vertical option the strip docks at OpenSeadragon.ControlAnchor.TOP_LEFT, where your default controls are also docked ;)
@RonyKordahi Also, I misread your original post - you want it centered on the right side (I pictured center of viewer 🙄) Unfortunately, currently there's no option to choose which...
@RonyKordahi There _should_ be a way to tie it to your own div, but now that I look at the source code it's broken/not-implemented. If you pass an id in...