Skip to content
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

关于页面 resize 重绘导致图层失效的问题 #2255

Closed
binghuis opened this issue Jan 15, 2024 · 0 comments
Closed

关于页面 resize 重绘导致图层失效的问题 #2255

binghuis opened this issue Jan 15, 2024 · 0 comments
Assignees

Comments

@binghuis
Copy link

问题描述

react 项目中,手动页面 resize,或使用 L7 fullscreen 全屏插件全屏,在 react 组件没有重新渲染的前提下(react 使用 memo 做了记忆化),图层报错。
猜测问题是由浏览器重绘引起的,但在文档中没有找到相关问题。

image image

重现链接

No response

重现步骤

  1. 加载页面
  2. 页面 resize,或使用 L7 全屏插件全屏
  3. 页面报错

预期行为

页面 resize 或全屏,渲染正常

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants