New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
切换浏览器标签页后切换回来后图表显示空白 #3811
Comments
有可能是浏览器的原因,这个问题我只在谷歌浏览器上复现了 |
我在 chrome 似乎没问题(可能我没有升级 chrome) |
@visiky 是Chrome的问题, <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<canvas id="canvas"></canvas>
</body>
<script>
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
ctx.fillStyle = 'green';
ctx.fillRect(10, 10, 150, 100);
</script>
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
切换浏览器标签页后切换回来后图表显示空白, 鼠标hover后才显示
Reproduction
https://codepen.io/chenkai0520/full/OJjGEQK
The text was updated successfully, but these errors were encountered: