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

Open
TAlecksen opened this issue Dec 30, 2024 · 0 comments

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant