Props of a Fab component like "name" and "value" are often inaccessible when handling click events.
Those props should always be accessible inside event.target.value and event.target.name.
Codesandbox comparing the click event values for Fab, SpeedDialAction and button
(SpeedDialAction is included because it uses the Fab component and I had originally an issue with it).
This bug is quite odd... the events seem to register when clicking the bottom or top of a FAB but not anywhere else. Maybe it's an issue with the icons ?
| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.9.5 |
| React | 16.13.0 |
| Browser | Firefox and Chrome |
Most helpful comment
You probably want to use currentTarget instead of target.