ajaxorg / ace

Ace (Ajax.org Cloud9 Editor)
https://ace.c9.io
Other
26.58k stars 5.27k forks source link

Scrolling on iPad with mouse not working #4313

Open ruebenacker opened 4 years ago

ruebenacker commented 4 years ago

Scrolling in the Editor with mouse is not working on iPad with a mouse or trackpad. Scrolling with touch gestures is working as expected. Steps to reproduce: iPad with iOS 13.5.1 with mouse / trackpad connected. Go to https://ace.c9.io and enter enough lines in the editor that you can use scrolling. Scroll with trackpad or mouse.

nightwing commented 4 years ago

Is mouse wheel support new in 13.5? I have access only to 13.1 and there wheel doesn't work at all.

If yes could you please check if there are wheel events shown in https://rbyers.github.io/eventTest.html when scrolling over the white region at the bottom right of the page.

ruebenacker commented 4 years ago

Yes. Apple rolled out full mouse and trackpad support with iPadOS 13.4 in March. When scrolling i get the output shown in the picture 4F77B130-1F2E-48AB-9D09-C146DDE5B491

nightwing commented 4 years ago

So ipad instead of sending normal wheel events, changes the scroll position directly :(

There is a bug report about this at https://bugs.webkit.org/show_bug.cgi?id=210071

If they do not fix the issue quickly, it may be possible to find some hacky workaround, e.g. make scrollbar div fill the whole editor area, but that can cause other problems. I'll try to find a workaround once i get access to a simulator for ipad 13.4.

hexise commented 2 years ago

It seems the bug https://bugs.webkit.org/show_bug.cgi?id=210071 has been fixed. Is there any update for this issue from Ace Editor part?

andrewnester commented 2 years ago

@hexise were you able to reproduce it on newer version of Ace still? I couldn't

hexise commented 2 years ago

@andrewnester yes, I can reproduce this problem on my iPad air 4 with iOS 15 and latest ace build. I connected to iPad using my logi mouse with bluetooth. You can drag and move the scrollbar using mouse, but the mouse wheel did not work, nothing happens when I spins mouse wheel.

github-actions[bot] commented 1 year ago

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

hexise commented 1 year ago

I want to keep this issue open.

github-actions[bot] commented 1 month ago

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

chazeon commented 1 month ago

I want to keep this issue open.