Chart size not set right after changing orientation in mobile view
- Dominant language
- JavaScript
- Stars
- 67.7k
- Forks
- 11.9k
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 5
Description
### Expected behavior
The size and aspect ratio of a chart should stay the same after changing and rechanging the orientation on a mobile device
### Current behavior
the size and aspect ratio of the chart changes
### Reproducible sample
https://www.chartjs.org/docs/latest/samples/line/line.html
### Optional extra steps/info to reproduce
Open this in Chrome Dev Tools in mobile View or on a real IPad
https://www.chartjs.org/docs/latest/samples/line/line.html
and change orientation and change it back
### Possible solution
_No response_
### Context
_No response_
### chart.js version
v4.4.7
### Browser name and version
Chrome 133.0.6943.54, current Safari on IPadOS 17.7.2
### Link to your project
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.