I've encountered an issue where the active pointer count on innerTracker (and outerTracker as well) does not reset in some cases when using the SVG Overlay plugin (and potentially other similar plugins). To illustrate, I created a minimal demo: LINK.
Here's a step-by-step breakdown of the issue:
Device: I'm using an iPad, but it occurs on other touch-enabled devices as well.
Setup: The demo is a simple OpenSeadragon instance with SVG Overlay (the SVG plugin code is embedded directly in the JS tab)
Important Note: The SVG element (a red triangle) has pointer-events set to auto—this appears to be the key, as the issue does not occur with pointer-events: none.
I've encountered an issue where the active pointer count on innerTracker (and outerTracker as well) does not reset in some cases when using the SVG Overlay plugin (and potentially other similar plugins). To illustrate, I created a minimal demo: LINK.
Here's a step-by-step breakdown of the issue:
Device: I'm using an iPad, but it occurs on other touch-enabled devices as well.
Setup: The demo is a simple OpenSeadragon instance with SVG Overlay (the SVG plugin code is embedded directly in the JS tab)
Important Note: The SVG element (a red triangle) has pointer-events set to auto—this appears to be the key, as the issue does not occur with pointer-events: none.
Reproducing the Issue:
I added the following code to the demo:
The first snippet logs the active pointer count. The second snippet removes the SVG polygon 1 second after it’s clicked.
Steps to Trigger: