-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
SplitButton does not mark mouse events handled #2545
Comments
@bloritsch Please test this again after merged PR #2572 thx! |
@bloritsch Could you retest this with latest pre-release? |
I'm sorry, I haven't gotten back to you yet. I've been so crazy busy with On Thu, Jul 21, 2016 at 3:54 PM, Jan Karger notifications@github.com
|
@bloritsch np, try latest pre-release, thx. |
Confirmed. It's working now. |
What steps will reproduce this issue?
We have an application that has a canvas that allows users to add elements by mouse click. We had some formatting controls accessible via a SplitButton. When a user opened the drop down, the mouse was also over the canvas. When they selected an option, the mouse click was bubbled through to our canvas and our code attempted to create an element at that position.
Expected outcome
We expected the SplitButton drop down to behave more like a ComboBox. When the user selects an option from the ComboBox, the mouse up event is marked as
e.Handled = true
. That prevents the erroneous click on the canvas.Our short term fix for now is to use a ComboBox and a separate button.
Environment
The text was updated successfully, but these errors were encountered: