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

Button events inside split button do not fire when ClosePopupOnMouseDownDelay = 0 #1227

Closed
TAlecksen opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@TAlecksen
Copy link

I have a button within a Split Button that has an event to open a Window. Since I would like the Split Button menu to close immediately after clicking the button, I have set the delay to 0 as shown below. However, the event never fires. When I set the delay to 50, it sometimes fires, and when it is 100 or greater, it always fires.

<Fluent:SplitButton ClosePopupOnMouseDown="True" ClosePopupOnMouseDownDelay="0">
  <Grid>
    <Button Click="button_Click">   
        .......
    </Button>
  </Grid>
</Fluent:SplitButton>

Visual Studio 2022

  • Fluent.Ribbon 11.0.0
  • Windows 10
  • .NET 7.0
@TAlecksen TAlecksen changed the title Button events inside split button do not fie when ClosePopupOnMouseDownDelay = 0 Button events inside split button do not fire when ClosePopupOnMouseDownDelay = 0 Dec 30, 2024
@batzen batzen self-assigned this Jan 6, 2025
@batzen batzen added this to the 11.0 milestone Jan 6, 2025
@batzen batzen added the Bug 🐞 label Jan 6, 2025
@batzen batzen closed this as completed in d0034e9 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants