Category
[ ] Enhancement
[ ] Bug
[X] Question
Version
spfx 1.21.1
"@pnp/sp": "4.16.0",
"@pnp/spfx-controls-react": "3.22.0"
"typescript": "~5.3.3"
Node.js 22.17.0
Question
TLDR: Can the LivePersona control be configured to exclude link elements? (<a> / <Link>)
We are currently using a <div> with multiple children as template prop for the LivePersona control. Some of these children are Link from '@fluentui/react' components, with the attribute target="_blank". When clicking them, a new browser tab with the intended target opens, as well as the Live Persona Card on the original tab. Is it possible to prevent the latter? (Other than to exclude the Link from the template.)
Category
[ ] Enhancement
[ ] Bug
[X] Question
Version
spfx 1.21.1
"@pnp/sp": "4.16.0",
"@pnp/spfx-controls-react": "3.22.0"
"typescript": "~5.3.3"
Node.js 22.17.0
Question
TLDR: Can the LivePersona control be configured to exclude link elements? (
<a> / <Link>)We are currently using a
<div>with multiple children as template prop for the LivePersona control. Some of these children are Link from '@fluentui/react' components, with the attributetarget="_blank". When clicking them, a new browser tab with the intended target opens, as well as the Live Persona Card on the original tab. Is it possible to prevent the latter? (Other than to exclude the Link from the template.)