Skip to content

Commit

Permalink
BUG 8860200 Focus enabled to line chart events (#31406)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-baambati committed May 17, 2024
1 parent 80b76eb commit e69f90d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Focus enabled to line chart events",
"packageName": "@fluentui/react-charting",
"email": "132879294+v-baambati@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export const LabelLink: React.FunctionComponent<ILabelLinkProps> = props => {
<FocusZone isCircularNavigation={true} direction={FocusZoneDirection.vertical}>
<List<() => React.ReactNode>
items={cards}
role="alert"
aria-roledescription=" "
// eslint-disable-next-line react/jsx-no-bind
onRenderCell={onRenderCell}
/>
Expand All @@ -71,7 +73,7 @@ export const LabelLink: React.FunctionComponent<ILabelLinkProps> = props => {

return (
<>
<g ref={gRef} onClick={onClick} data-is-focusable={false} style={{ cursor: 'pointer' }}>
<g ref={gRef} onClick={onClick} data-is-focusable={true} style={{ cursor: 'pointer' }}>
<Textbox
text={text}
x={props.labelDef.x}
Expand Down

0 comments on commit e69f90d

Please sign in to comment.