-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is your issue REALLY a bug?
- My issue is indeed a bug!
- I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.
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?
In the current pane_grid implementation, shell.capture_event() is called on mouse ButtonPressed handler, preventing the underlying widget from receiving the event. However, shell.capture_event() is not called on mouse ButtonReleased handler, allowing it to bubble down normally, but leading to different behavior between mouse ButtonPressed and mouse ButtonReleased event.
What is the expected behavior?
I suggest removing shell.capture_event() from the ButtonPressed handler so that both events can pass through the widget below normally.
Version
crates.io release
Operating System
macOS
Do you have any log output?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working