-
Notifications
You must be signed in to change notification settings - Fork 44
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
Horizontal touchpad scrolling on macOS #99
Comments
Hi @turbo ! Thanks for download and test NAppGUI. Yes it's true. Horizontal mouse scrolling is disabled, not only for macOS, also for Windows/Linux. |
Thanks! Yes, I think macOS is sufficiently different to warrant a change. The behaviour I'm used to from other macOS apps is that once you start to scroll in a particular direction, it will lock into that direction. But if you start with a diagonal gesture, it'll move more freely. That means there are usually no micro-scrolls happening once you start to scroll horizontally. That might be unique to macOS, but probably also applies to modern Windows laptops with Windows Precision Touchpad drivers. |
Its a good tip. Set the scroll type based on first gesture. Perhaps I'll also add some user configuration for special kind of views.
|
That's a great idea. The option to have "free" is useful for some views (e.g. a map), and the default makes sense. |
Using macOS Sonoma (Apple Silicon), in none of the demos that have a horizontally scrolling container (e.g. the table demo in GuiHello) work with touchpad scrolling. I can scroll vertically, I can even scroll horizontally when the cursor hovers the bottom scrollbar, but if the cursor is in the view, only vertical scrolling functions.
Here's a demo showing what I mean. I try to do three things:
Screen.Recording.2024-02-02.at.21.01.25.mov
The text was updated successfully, but these errors were encountered: