Expected Behavior
Chart has no border around it when the correct option flags for hiding it are enabled.
Current Behavior
When resizing the window, a thin white border line appears.
Steps to Reproduce
- Visit: https://codepen.io/dcj/pen/oNwqmVo?editors=0110
- Resize browser window width
- See thin white border appear between the chart and the div underneath it
Context
I'm using Chart.js with a React wrapper (react-chartjs-2) and trying to make the chart disappear seamlessly into the div underneath it. There is more context documented here, and here. I also tried using Chart.js directly (without the React wrapper) and that makes the line go away on the first load, but then it appears again when resizing the browser window.
Environment
- Chart.js version: 3.5.1
- Browser name and version: Chrome, version 93.0.4577.82
- Link to your project:
Expected Behavior
Chart has no border around it when the correct option flags for hiding it are enabled.
Current Behavior
When resizing the window, a thin white border line appears.
Steps to Reproduce
Context
I'm using Chart.js with a React wrapper (
react-chartjs-2) and trying to make the chart disappear seamlessly into the div underneath it. There is more context documented here, and here. I also tried using Chart.js directly (without the React wrapper) and that makes the line go away on the first load, but then it appears again when resizing the browser window.Environment