Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPad: Trackpad scroll doens't work in vscode.dev #164220

Closed
lungarella-raffaele opened this issue Oct 21, 2022 · 34 comments
Closed

iPad: Trackpad scroll doens't work in vscode.dev #164220

lungarella-raffaele opened this issue Oct 21, 2022 · 34 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) editor-core Editor basic functionality ios-ipados upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@lungarella-raffaele
Copy link

lungarella-raffaele commented Oct 21, 2022

Does this issue occur when all extensions are disabled?: Yes/No
Yes

  • VS Code Version: 1.72.2
  • OS Version: ipadOS 16.1

Steps to Reproduce:

  1. Open any repository in vscode.dev
  2. Try to use the trackpad of the magic keyboard

I have an Ipad Air 5th generation and I am using it with a magic keyboard, I am currently using the beta of IpadOS 16.1. When I try to visualize any code in .dev mode the trackpad doens't work. I am using Safari, other browsers don't work as I want. If I add the vscode.dev project to my home screen the scroll works, but only when I open the files from the side bar.
Is this a problem of the IpadOS version? I found some issues where they said they solved it in IpadOS 14.5.

@yume-chan
Copy link
Contributor

Duplicate of #106232

@keekerdc
Copy link

keekerdc commented Oct 24, 2022

I don’t think this is a dupe of a two-year-old issue. I’ve rolled up here today to +1 this issue.

Just updated to iPad OS 16.1 today on the full public release. I’m utilizing vscode via the code-server project.

I’ve found that if Settings -> General -> Keyboards -> Shortcuts is turned ON, two-finger scroll on the magic keyboard trackpad works.

If that’s turned OFF - as I had been doing since it gets rid of the little keyboard drawer that pushes all the content up when you’re in a text entry context - then the two-finger trackpad scroll stops working. I’ve found this to be the case whether using my vscode instance in the safari browser, or through the full-screened homepage shortcut context.

This wasn’t previously the case - on iPad OS v15.x I could have the Shortcuts setting set to OFF and the two-finger scroll worked.

@cschoenecker
Copy link

cschoenecker commented Oct 25, 2022

Same issue for me with VSCode in PWA mode iPadOS 16.1 (work in iPadOS 15.x in PWA mode). If you turn On/Off/On Stage manager, scroll work until you close the app

@sakuradon99
Copy link

I have the same issue on iPad OS 16.1.
In the Edge browser, it only works when the cursor focus is in the code input box, if the cursor focus in other place like the git commit input, then I can not scroll the code input.
In the Safari, the trackpad doesn't work anyway.
If I add the code server to my home screen, I can toggle off then toggle on the Stage Manager, then it works still I close it.

@mtogstad
Copy link

I’m having this issue too, and I can’t seem to get sone of the tricks mentioned here to work either (toggling stage manager, turning on Settings -> General -> Keyboards -> Shortcuts). But placing a cursor in an open file does work for me (this is in safari). As long as a file is open with a cursor in it, scrolling in the file and the files list works, as soon as the cursor is gone, trackpad scrolling doesn’t work anywhere.

@PixNyb
Copy link

PixNyb commented Nov 1, 2022

I’ve come here to +1 this issue, I’ve been experiencing the same behavior since i got my IPad and started developing on it.
I never in a million years thought turning on shortcuts would solve the scroll issue but now i am dealing with pushed up content in the PWA. Anyway i’ve experienced being able to scroll through a view but as soon as my focus is on the view i lose that ability.

@hediet hediet self-assigned this Nov 1, 2022
@hediet hediet added this to the November 2022 milestone Nov 1, 2022
@tusing
Copy link

tusing commented Nov 6, 2022

Can confirm this is still happening in the iPadOS 16.1 production release.

@huw
Copy link

huw commented Nov 9, 2022

Thank you—been suffering under this for 6 months since the first beta. Thought it had to be something a bit weird with my setup. Cheers ❤️

@Antoniomm80
Copy link

I’m having this same issue with an ipad air with no stage manager support in both safari and PWA

I’ll check on Edge

@UndefBhvr
Copy link

+1 but I once found it working again, but the next day it didn’t work again. So I don’t know what happened that night.

@cschoenecker
Copy link

Another bug: Text selection (with the mouse for example) crashes regularly. The workaround is to reload the window (iPadOS 16.1)

@hediet hediet modified the milestones: November 2022, December 2022 Nov 28, 2022
@huw
Copy link

huw commented Dec 4, 2022

On iPadOS 16.2 Beta 4, scrolling is much more intermittent with the keyboard bar minimised (when you hit ‘Minimise’ and it goes into the bottom-right corner, not when you have ‘Shortcuts’ off).

You can fix it by un-minimising the bar, which brings it back into the middle. The keyboard bar is clearly just broken in this beta, the nice animations are totally gone—so I’m assuming it’ll get fixed next update but for those of you in the thread who’re relying on this that’s how to get around it for now <3

@hediet hediet added bug Issue identified by VS Code Team member as probable bug editor-core Editor basic functionality labels Dec 6, 2022
@cschoenecker
Copy link

Just for information, we can scroll on the udate tab and not on code tab :

RPReplay_Final1670504782.mov

@iloveicedgreentea
Copy link

Having the same issue Ipad 16.1.1 with magic keyboard. I did some digging in this issue coder/code-server#5861

@LeytonHouck
Copy link

Still having this issue on 16.2 with a Logitech folio trackpad. Is this something that can be fired on VS Code's end or does apple have to fix something with Safari?

@tusing
Copy link

tusing commented Jan 14, 2023

My "solution" was moving back to a Mac, since Safari on iPadOS is such an unreliable mess.

The Blink client on iPadOS irons out some bugs with VSCode, but still enough remain due to inconsistent implementations between iPadOS and desktop browsers.

@jgdevroman
Copy link

jgdevroman commented Jan 18, 2023

Still having this issue on iPadOS 16.2 but I was able to fix this by disabling the shortcuts on keyboard settings. Hope it helps and apple fix this soon

Edit: Sorry, didn't work as well in the end

@terragou
Copy link

Still having this issue on iPadOS 16.2 but I was able to fix this by disabling the shortcuts on keyboard settings. Hope it helps and apple fix this soon

Didn't work for me.

@cschoenecker
Copy link

It doesn't work for me either

@jgdevroman
Copy link

jgdevroman commented Jan 18, 2023

Sorry, it just worked at that moment but didn't work later for me as well.
Although I found out that there is an app called Blink that can open Codespaces inside the app and works much better than Safari. It seems to solve not only the scrolling issues but also the problem of codespaces disconnecting after switching apps or tabs. I'd suggest using this until Apple fixes these issues.

@lwschan
Copy link

lwschan commented Jan 19, 2023

I just found out that if I zoom out VSCode once with Cmd + - then I can scroll even with the keyboard shortcuts bar minimised at a corner. Might be an OK-ish workaround until they get this fixed properly.

@huw
Copy link

huw commented Jan 19, 2023

@lwschan Replicated in Safari only (i.e. not ‘Add to Home Screen’, which can’t zoom using the keyboard), and only at the 90% zoom level (no further in or out). Weird—but great find!

@Cupprum
Copy link

Cupprum commented Jan 28, 2023

@lwschan Replicated in Safari only (i.e. not ‘Add to Home Screen’, which can’t zoom using the keyboard), and only at the 90% zoom level (no further in or out). Weird—but great find!

Today i found out, that if you zoom to 90% level and do ‘Add to Home Screen’ afterwards, the downloaded PWA is the zoomed in one. So the scrolling works, at least for me (did not work before).

@hzcheng
Copy link

hzcheng commented Jan 29, 2023

@lwschan Replicated in Safari only (i.e. not ‘Add to Home Screen’, which can’t zoom using the keyboard), and only at the 90% zoom level (no further in or out). Weird—but great find!

Today i found out, that if you zoom to 90% level and do ‘Add to Home Screen’ afterwards, the downloaded PWA is the zoomed in one. So the scrolling works, at least for me (did not work before).

This works for me!

@cschoenecker
Copy link

Works for me too. But don't you have a problem with text selection in the code editor that often happens?

@huw
Copy link

huw commented Jan 30, 2023

Today i found out, that if you zoom to 90% level and do ‘Add to Home Screen’ afterwards, the downloaded PWA is the zoomed in one. So the scrolling works, at least for me (did not work before).

At least for me on 16.3 this saves the 90% zoomed web app into the PWA. A non-starter for me but good to know that it works! Crazy find.

Hoping now that 16.3 is properly out that this gets a fix. Promising that the ticket has milestones on it now ^_^

@hzcheng
Copy link

hzcheng commented Jan 30, 2023

Works for me too. But don't you have a problem with text selection in the code editor that often happens?

No text selection problem in my case. Besides, I use vscode-vim plugin in which I rarely select text with trackpad.

@cschoenecker
Copy link

This works best via Chrome on the iPad (although it is WebKit like Safari). The scroll works without setting the site zoom to 85% and the selection with the cursor also (the right click does not open the editing popup of the OS)

@joaomoreno joaomoreno changed the title Trackpad scroll doens't work in vscode.dev iPad: Trackpad scroll doens't work in vscode.dev Feb 3, 2023
@hediet hediet added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Feb 20, 2023
@hediet
Copy link
Member

hediet commented Feb 20, 2023

/duplicate #106232

@hediet hediet closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2023
@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 20, 2023
@TUCAOEVER
Copy link

TUCAOEVER commented Feb 20, 2023 via email

@huw
Copy link

huw commented Feb 21, 2023

FYI this has been completely fixed for me in iPadOS 16.4, including with Shortcuts off.

@Cupprum
Copy link

Cupprum commented Apr 3, 2023

The newest version of iPad OS (16.4) fixed this issue for me.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) editor-core Editor basic functionality ios-ipados upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests