Describe the bug
When using tooltip.boundary as and HTMLElement the value is ignored.
Expected behaviour
The boundary should be applied to tooltip positioning
Screenshots

Notice the boundary element in pink, the tooltip ignores this and is position beyond the boundary.
Version (please complete the following information):
Additional context
The value in the tooltip logic only applied the boundary if its value is 'chart'
|
boundary: boundary === 'chart' && chartRef.current ? chartRef.current : undefined, |
Kibana Cross Issues
elastic/kibana#93495
Checklist
Describe the bug
When using
tooltip.boundaryas andHTMLElementthe value is ignored.Expected behaviour
The
boundaryshould be applied to tooltip positioningScreenshots

Version (please complete the following information):
masterAdditional context
The value in the tooltip logic only applied the boundary if its value is
'chart'elastic-charts/src/components/tooltip/tooltip.tsx
Line 203 in 82931f3
Kibana Cross Issues
elastic/kibana#93495
Checklist
Kibana Cross Issueslistkibana cross issuetag is associated to the issue if any kibana cross issue is present