使用Mapbox地图时,刷新,地图会显示白底
Open
@lvisei is already working on this.
Since Sep 19, 2024.
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 656
- PR merge metrics
- No merged PRs in 30d
Description
问题描述
背景有颜色的状态下,Mapbox地图背景透明,刷新时,Mapbox地图会出现异常的白色背景
重现链接
https://codesandbox.io/p/sandbox/nice-kepler-47lt2m?file=%2Findex.html&from-embed=
重现步骤
一直在页面刷新就可以
预期行为
正常显示,刷新不显示白色背景
平台
- 操作系统:Windows
- 网页浏览器: Google Chrome
屏幕截图或视频(可选)
https://github.com/user-attachments/assets/5a766b6c-d767-493f-8d10-63e2a4dbdc28
补充说明(可选)
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.