I'm using the arcgis-features map component in a react application and I'm able to add an action button in the header. Now the problem is that the "onarcgisTriggerAction" event handler is never fired when I click on the action button. Is this a bug?

Here's my code :
const [actionDetacherInformations] = useState(new Collection([new ActionButton({icon:"popup", title:"Détacher", id:"detacher",type:"button"})]));
<arcgis-features
onarcgisTriggerAction={e => {
if(e.detail.action.id === "detacher"){
setPopupDockEnabled(false);
}
}}
headerActions={actionDetacherInformations}
referenceElement={mapId}>