Description
Describe the bug
Using the Table component when onRowClick and onActionRowClick are added and the actions are collapsed to appear in a dropdown menu, clicking an action will also fire the row click.
This does not happen if the actions are not collapsed and in that case works as expected.
Isolated Example
https://stackblitz.com/edit/ui5wcr-table-features-wkx5f4jf?file=src%2FApp.tsx
Reproduction steps
row click and action click are fired
Expected Behaviour
When an action is clicked only the onActionRowClick will be fired even if is from actions collapsed and show as dropdown menu.
Screenshots or Videos
No response
UI5 Web Components for React Version
Latest
UI5 Web Components Version
Latest
Browser
Chrome
Operating System
Any
Additional Context
We for example need to use onRowClick for navigation pruposes to the specified item, meanwhile actions can have others as delete, copy, etc. So is unexpected that the page is navigating when a delete action that should show the confirmation dialog (with others is the same)
Even using all the prevent possibilities in event from onRowActionClick has no effect and row is fired.
Relevant log output
Organization
SAP Signavio
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status