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

mouse wheel on ScrollView scroll bar does not scroll #1463

Closed
Be-ing opened this issue Aug 7, 2022 · 3 comments · Fixed by #3668
Closed

mouse wheel on ScrollView scroll bar does not scroll #1463

Be-ing opened this issue Aug 7, 2022 · 3 comments · Fixed by #3668
Labels
a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) bug Something isn't working

Comments

@Be-ing
Copy link
Contributor

Be-ing commented Aug 7, 2022

Using the mouse scroll wheel on the content area of a ScrollView scrolls the view, but if the cursor is over the scroll bar, the view is not scrolled.

@tronical
Copy link
Member

I can reproduce this (with fluent style). It seems TouchArea needs a wheel-event callback.

@tronical tronical added the bug Something isn't working label Aug 15, 2022
@tronical
Copy link
Member

@ogoffart: Does that sound correct to you? A wheel-event in Slint that takes a WheelEvent struct as parameter, with position_x, position_y, delta_x and delta_y?

@ogoffart
Copy link
Member

See #1280

@ogoffart ogoffart added the a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants