Skip to content

Commit cff1cb2

Browse files
authored
fix(react-charting): Fixed legends disappear when hovering over the scrollbar in more legends (#34289)
1 parent ee0848b commit cff1cb2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix(react-charting): Fixing legends disappear when hovering over the scrollbar in more legends",
4+
"packageName": "@fluentui/react-charting",
5+
"email": "120183316+srmukher@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/charts/react-charting/src/components/Legends/Legends.styles.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ export const getStyles = (props: ILegendStyleProps): ILegendsStyles => {
123123
],
124124
hoverCardRoot: {
125125
padding: '8px',
126+
position: 'relative',
127+
overflowY: 'auto',
128+
maxHeight: '300px',
126129
},
127130
subComponentStyles: {
128131
hoverCardStyles: {

0 commit comments

Comments
 (0)