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

MouseArea does not report mouse wheel events. #2375

Open
2 tasks done
Gremious opened this issue Apr 6, 2024 · 0 comments
Open
2 tasks done

MouseArea does not report mouse wheel events. #2375

Gremious opened this issue Apr 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Gremious
Copy link

Gremious commented Apr 6, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

I wanted to use MouseArea to capture scrolling. However, it only captures mouse button events.

What is the expected behavior?

It should have on_scroll which sends gives you a Scroll:Up/Scroll:Down, or two separate up/down hooks.

Scrolling with a mouse is a mouse-related event so MouseArea should capture that.

Version

crates.io release

Operating System

Windows

Do you have any log output?

No response

@Gremious Gremious added the bug Something isn't working label Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant