MouseArea::on_release
doesn't work when image::Viewer
is the child
#2743
Labels
bug
Something isn't working
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
I want to capture a mouse click inside
image::Viewer
and emit some message. Howeverimage::Viewer
captures both the pressed and released events inside the widget so the events cannot be captured by the parentMouseArea
.Here is a reproduction:
What is the expected behavior?
Prints
Clicked
when clicking inside the image viewer.Version
master
Operating System
macOS
Do you have any log output?
The text was updated successfully, but these errors were encountered: