You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iPad OS trackpad scroll / mouse wheel support #106232
ios-ipadosupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamwebIssues related to running VSCode in the web
Reacted by James Birtles, Christoph Siedentop, Pol Marnette, Sebastian, keloin, Roman Frey, Kent Gruber, Rian Fowler, Drew Skwiers-Koballa, Milo and 3 more
Peng Lyu (@rebornix) could you update the issue's title to capture that it's not only impacting trackpad support but also mouse wheel? I do not have the permissions to do that (:
Also, it is my understanding this is the main issue tracking this work (we're also tracking it on the Codespaces side).
However, I just tried on iPadOS 14.5 beta 2 and the scrolling on iPad still doesn't work. So either the fix isn't yet in iPadOS or we need some changes in VSCode.
This has been completely fixed for me in iPadOS 16.4 Beta 1, including with Shortcuts off and Stage Manager on. I would move to close once 16.4 releases and someone else can verify.
Just updated to iPadOS 16.4 Beta 3 and I can also confirm that it is working huw (@huw), but now I've got a double cursor (the iPadOS and the VSCode one on top of each other). The scrolling is fully functional in CodeSpaces and code-server, might as well be fixed in VSCode Remote Tunnels.
If I give the editor panel focus by clicking on it, I can only see the VSCode cursor.
Once I scroll, the native cursor appears and doesn't go away until it loses focus.
It works nonetheless! Awesome to see it finally working on my iPad after struggling for so long.
ios-ipadosupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamwebIssues related to running VSCode in the web
Activity
rebornix commentedon Sep 14, 2020
It's a bug in webkit which doesn't sent out the right events when scrolling on the trackpad https://bugs.webkit.org/show_bug.cgi?id=210071. Currently we couldn't figure out the difference between mouse move and scroll.
VincentDondain commentedon Sep 28, 2020
Peng Lyu (@rebornix) could you update the issue's title to capture that it's not only impacting trackpad support but also mouse wheel? I do not have the permissions to do that (:
Also, it is my understanding this is the main issue tracking this work (we're also tracking it on the Codespaces side).
[-]iPad OS trackpad support [/-][+]iPad OS trackpad scroll / mouse wheel support [/+]rebornix commentedon Sep 30, 2020
Vincent Dondain (@VincentDondain) thanks, I updated the title.
VincentDondain commentedon Oct 23, 2020
Comment from Apple on 2020-10-21 (hopefully fix soon).
VincentDondain commentedon Feb 19, 2021
Hey Peng Lyu (@rebornix), it looks like the WebKit issue is now fixed: https://bugs.webkit.org/show_bug.cgi?id=210071#c34
However, I just tried on iPadOS 14.5 beta 2 and the scrolling on iPad still doesn't work. So either the fix isn't yet in iPadOS or we need some changes in VSCode.
huw commentedon Feb 19, 2021
As in cdr/code-server#1455, you either need to scroll a little bit to hide the URL bar, or to add your Codespace to your home screen.
22 remaining items
hzcheng commentedon Jan 29, 2023
Try this: #164220 (comment)
hediet commentedon Feb 20, 2023
I can verify:
=> This is clearly an upstream issue.
huw commentedon Feb 21, 2023
This has been completely fixed for me in iPadOS 16.4 Beta 1, including with Shortcuts off and Stage Manager on. I would move to close once 16.4 releases and someone else can verify.
vinerz commentedon Mar 13, 2023
Just updated to iPadOS 16.4 Beta 3 and I can also confirm that it is working huw (@huw), but now I've got a double cursor (the iPadOS and the VSCode one on top of each other). The scrolling is fully functional in CodeSpaces and code-server, might as well be fixed in VSCode Remote Tunnels.
If I give the editor panel focus by clicking on it, I can only see the VSCode cursor.
Once I scroll, the native cursor appears and doesn't go away until it loses focus.
It works nonetheless! Awesome to see it finally working on my iPad after struggling for so long.
hediet commentedon Mar 14, 2023
I also upgraded my iPad to iPadOS 16.4 Beta 3 and can confirm as well that the trackpad can now be used to scroll lists and text.
I don't see this though, can you share a screenshot?
vinerz commentedon Mar 14, 2023
Henning Dieterichs (@hediet) sure! Here goes a screen capture:
RPReplay_Final1678815333.mov
hediet commentedon Mar 15, 2023
Isn't this the expected behavior?
tiagomsmagalhaes commentedon Mar 15, 2023
I think there's 2 cursors, one in blue (and shorter) the other in white
huw commentedon Mar 15, 2023
The double cursor problem is much more evident (and worse) when you select text. Not great fun.
TylerLeonhardt commentedon Dec 17, 2024
This issue (the trackpad scrolling) appears to be fixed - tested on 18.2. Closing this issue and leaving #177277 for the double cursor issue.