OfficeDev / office-ui-fabric-js

JavaScript components for building experiences for Office and Office 365.
http://dev.office.com/fabric
Other
368 stars 114 forks source link

Persona Card actions has event listener on wrong element #351

Closed ChrispyBites closed 5 years ago

ChrispyBites commented 6 years ago

It looks like the listener is being applied to the <li> in the actions list, rather than the icon.

<li tabindex="1" class="ms-PersonaCard-action" data-action-id="chat"> //Here
    <i class="ms-Icon ms-Icon--Chat"></i>  //Not here
</li>

As a result, users are clicking on the icons and not getting interaction from the component. They have to click just underneath the icon in order to flip to a new tab.

Linda-Editor commented 5 years ago

Microsoft no longer supports this content and will not be responding to bugs or issues. We recommend that you use the newer version, Office UI Fabric, with React as your front-end framework. We are closing this issue; if you still need assistance with Fabric.js, visit Stack Overflow/office-ui-fabric.