antvis/G2

The issue has been closed
v5 beta 5: autofit,tooltip interaction broken after resize #4533
sspilleman posted onGitHub
Hi,
Im using:
const chart = new Chart({ container, autoFit: true });
chart.interaction({ type: "tooltip" });
<div bind:this={container} style="width: 100%;height: 100%;" />
The parent container is responsive and resizes when I resize the browser
.parent {
aspect-ratio: 4/2;
}
The tooltip works great when the chart is loaded and the content indeed fits the parent div seamlessly. After I resize the browser the chart resizes perfectly to the resized parent... Great! However, after the resize, the tooltip stops working when I hover the chart. I also tried hovering the entire chart area but it really doesn't show anymore, even after resizing to the initial size.
What is causing it to break?
Thank you,
Sander