In my component I have a Table with mapped TableRow from some custom array of objects. In the last TableCell I want to have a icon button that onClick opens Menu with some MenuItem actions (edit and delete). The problem is that the onClick event of the MenuItem is always passing the last array element and not the one mapped to that particular TableRow.
The onClick on the MenuItem should pass as an argument the appropriate array element when it is used inside map function.
The onClick on the MenuItem is passing as an argument the last element in the array that is being mapped.
Sandbox example:
https://codesandbox.io/s/0x8lnylqj0
| Tech | Version |
|--------------|---------|
| Material-UI | v1.0.0 |
| React | v16.3.2 |
| browser | Chrome |
@RudmanMario You are opening two menus at the same time:

Most helpful comment
@RudmanMario You are opening two menus at the same time:
