iced-rs/iced

MouseArea does not report mouse wheel events.

Gremious opened this issue · 2 comments

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