Open BerkinAKKAYA opened 3 months ago
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>
https://github.com/Trendyol/baklava/assets/32297518/38f2572d-bd4d-4cd4-af9e-978c0fe78e3e
3.1.0
Medium (should be fixed soon)
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:
Media & Screenshots
https://github.com/Trendyol/baklava/assets/32297518/38f2572d-bd4d-4cd4-af9e-978c0fe78e3e
Baklava Version
3.1.0
Operating system
Priority this issue should have
Medium (should be fixed soon)
Please review the checkboxes that are applicable.