Icontext click handler only works on the icon

The icontext component has a click handler event - the docs say it triggers when the component is clicked on but it actually only triggers when the icon is clicked

Hi @dcartlidge Thanks for reaching out! I believe this is technically expected, but I'll check on the docs & put in a request to have the option for it to trigger anywhere inside the component. In the meantime, if you want the event to trigger in the surrounding area, I'd recommend using a container with no padding or margin & moving the click event to the container

thanks Tess, I've used a workaround for now but it wasn't the behaviour I expected of the click event handler