I’m a designer, not the engineer, but while testing our webapp in Orion I noticed that scroll-to-zoom doesn’t work in our canvas-based network panel.
- In Chrome, Safari, and Firefox the zoom works fine.
- In Orion, scrolling to zoom causes the console to spam:
TypeError: Right hand side of instanceof is not an object
- Our engineers checked and found it’s coming from an instanceof TouchEvent check inside the
zoom handler.
To make it easier to reproduce outside of our app, here’s a minimal test case you can try directly in Orion:
Steps to reproduce (from a clean Orion profile):
1. Open Orion Desktop.
2. Paste this into the address bar:

- Open Console and scroll.
Observed in Orion:
- Console throws: TypeError: Right hand side of instanceof is not an object.
- typeof globalThis.TouchEvent is "undefined".
Observed in Safari/Chrome/Firefox:
- Console logs false.
- No error, zoom works as expected.
Here's a video demo of me Scrolling on other panels but when it comes to our "Network Map" scrolling should work to zoom in:
Scroll-to-zoom should work the same in Orion as in other browsers.
- Expected: e instanceof TouchEvent should safely evaluate to false on desktop, just like in
Safari/Chrome/Firefox.
- Actual: Orion crashes because TouchEvent is missing globally.
Here's the expected result (using Safari):
Version 0.99.135.0.1-beta (WebKit 622.1.15.19.2)
Sequoia (15)