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

[BUG]: BlSplitButton triggering on dropdown click #890

Open
1 task
BerkinAKKAYA opened this issue Jun 26, 2024 · 0 comments
Open
1 task

[BUG]: BlSplitButton triggering on dropdown click #890

BerkinAKKAYA opened this issue Jun 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@BerkinAKKAYA
Copy link
Contributor

BerkinAKKAYA commented Jun 26, 2024

Issue description

When i click dropdown button, it triggers the main click event. If i click the main button, it triggers the event twice

Reproducing:
1- Create a BlSplitButton with OnBlClick event
2- Click dropdown button

Example Code:

<BlSplitButton
  label="Test"
  onBlClick={() => {
    console.log('click');
  }}
>
  <BlDropdownGroup caption="Actions">
    <BlDropdownItem icon="edit">Edit</BlDropdownItem>
    <BlDropdownItem icon="delete">Delete</BlDropdownItem>
  </BlDropdownGroup>
</BlSplitButton>

Media & Screenshots

Baklava.mov

Baklava Version

3.1.0

Operating system

  • OS: macOs
  • Browser: Chrome based Arc browser

Priority this issue should have

Medium (should be fixed soon)

Please review the checkboxes that are applicable.

  • This issue is directly related to React
@BerkinAKKAYA BerkinAKKAYA added the bug Something isn't working label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant