turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Scrolling is not possible with a Trackpad in Webstorm

Open MickL opened this issue 1 year ago • 2 comments

Verify canary release

  • [X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Mac

Which canary version will you have in your reproduction?

2.0.3

Describe the Bug

Scrolling is not possible with a Trackpad at least on macOS.

Initially I can scroll up once but then I cant scroll down anymore, the frame jumps up to the very top multiple times per second. I reported this many times in the UI feedback of 1.x canary.

This occurs at least in Webstorm. I tested in iTerm and there trackpad scrolling seems to work.

Additionally the UI adds tons of signs: 338526919-1c7ecbc3-fccd-4b55-8ef2-64af4ded8faa

Expected Behavior

To Reproduce

Additional context

No response

MickL avatar Jun 11 '24 14:06 MickL

This looks very similar to a this user's comment:

This is still affecting me. When I scroll with trackpad it goes through my history. ctrl + arrow / pg up + down produces "A" (shift arrow up) and "B" (shift arrow down)

Source

My bet is that Webstorm is intercepting mouse events and translating mouse scroll to up/down errors. That would explain your behavior of

When I scroll it toggles throught the items in the sidebar

since we use arrow keys to move between tasks in the list.

If this is the case, there's not much we can do especially since we can't look at the Webstorm source code. Only work around I can offer you is Ctrl-p/Ctrl-n for scrolling without the mouse.

chris-olszewski avatar Jun 11 '24 22:06 chris-olszewski

You might get in contact with Webstorm and try to find a solution together. I am sure they are open to work together to support Turbo as good as possible.

MickL avatar Jun 12 '24 09:06 MickL

@MickL Open settings and type mouse in the search box, then go to terminal under tools on the left side, you'll see Mouse reporting checked. Uncheck it.

Screenshot 2024-12-22 210856

FadiObaji avatar Dec 22 '24 18:12 FadiObaji