Skip to content

Commit

Permalink
[charts] Fix ScatterChart tooltip being defaulted to axis
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas committed Nov 21, 2024
1 parent 8ee87b5 commit 36d2997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-charts/src/ScatterChart/ScatterChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const ScatterChart = React.forwardRef(function ScatterChart(
<ChartsOverlay {...overlayProps} />
{!props.hideLegend && <ChartsLegend {...legendProps} />}
<ChartsAxisHighlight {...axisHighlightProps} />
{!props.loading && <Tooltip {...props.slotProps?.tooltip} />}
{!props.loading && <Tooltip trigger="item" {...props.slotProps?.tooltip} />}
{children}
</ZAxisContextProvider>
</ChartContainer>
Expand Down

0 comments on commit 36d2997

Please sign in to comment.