[Bug]: Scrolling with Companion app #7

Closed
opened 2026-05-23 15:27:44 +00:00 by ssmithx · 1 comment

Description

Two finger scroll seems to work on the left hand frame but not the right frame, I still can't find how to scroll them with the companion app

Steps to Reproduce

Open either the horizontal or vertical version of the companion app game controller.
Try scrolling in different windows

Expected Behavior

Should scroll

Actual Behavior

don't scroll

Archipelago Version

1.7.82

Hardware

x86_64 (Intel/AMD)

Relevant Logs

No response

Screenshots

No response

### Description Two finger scroll seems to work on the left hand frame but not the right frame, I still can't find how to scroll them with the companion app ### Steps to Reproduce Open either the horizontal or vertical version of the companion app game controller. Try scrolling in different windows ### Expected Behavior Should scroll ### Actual Behavior don't scroll ### Archipelago Version 1.7.82 ### Hardware x86_64 (Intel/AMD) ### Relevant Logs _No response_ ### Screenshots _No response_
Owner

Fixed: two-finger scroll did nothing because the relay dispatched a synthetic WheelEvent — which browsers treat as untrusted and never scroll on. neode-ui/src/api/remote-relay.ts now finds the scrollable element under the virtual cursor (descending into same-origin app frames, incl. the right-hand panel) and calls scrollBy directly, with a findScrollable ancestor walk that hops out of same-origin iframes. Verify with the companion controller over a couple of app frames.

Fixed: two-finger scroll did nothing because the relay dispatched a synthetic `WheelEvent` — which browsers treat as untrusted and never scroll on. `neode-ui/src/api/remote-relay.ts` now finds the scrollable element under the virtual cursor (descending into same-origin app frames, incl. the right-hand panel) and calls `scrollBy` directly, with a `findScrollable` ancestor walk that hops out of same-origin iframes. Verify with the companion controller over a couple of app frames.
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lfg2025/archy#7
No description provided.