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

2.19.0 ie存在兼容问题,会报错 #2003

Closed
qtj4js opened this issue Nov 1, 2023 · 4 comments · Fixed by #2005
Closed

2.19.0 ie存在兼容问题,会报错 #2003

qtj4js opened this issue Nov 1, 2023 · 4 comments · Fixed by #2005
Labels
bug 这个是一个 bug good first issue Good for newcomers 🌟 star

Comments

@qtj4js
Copy link

qtj4js commented Nov 1, 2023

问题描述

L7 Version: 2.19.0
Platform:
Mini Showcase(like screenshots):
CodePen Link:
项目中的依赖包从2.17.0升级至2.19.0后,ie下出现报错
他会报es6语法错误,包是regl的包
但是如果我在babel中把这个regl包编译为es5的话,又会报错:无法设置未定义或 null 引用的属性“createREGL”
并且此时我所有浏览器都会有createRegl的报错
从2.17.0升级至2.19.0确实存在regl包的变更

重现链接

No response

重现步骤

进入ie下的相关工程即可复现

预期行为

期望能正常显示但是却出现报错

平台

ie浏览器

屏幕截图或视频(可选)

1698826651965_A7A5A8D0-9F22-4cc1-9DCC-F737A0FC4C2F
1698826651965_A7A5A8D0-9F22-4cc1-9DCC-F737A0FC4C2F

补充说明(可选)

No response

Copy link
Contributor

github-actions bot commented Nov 1, 2023

hi @qtj4js, welcome!

Copy link
Contributor

github-actions bot commented Nov 1, 2023

Hi @qtj4js, Please star this repo if you find it useful! Thanks ⭐!
你好 @qtj4js。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!

@github-actions github-actions bot added the good first issue Good for newcomers label Nov 1, 2023
@qtj4js
Copy link
Author

qtj4js commented Nov 1, 2023

ed084ec458d77783da7bf8f00084b26e

@lzxue lzxue added the bug 这个是一个 bug label Nov 1, 2023
@lzxue lzxue linked a pull request Nov 1, 2023 that will close this issue
21 tasks
@lzxue
Copy link
Contributor

lzxue commented Nov 2, 2023

你尝试一下,把 regl 版本全局锁定 1.3.1 看看IE 可不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 这个是一个 bug good first issue Good for newcomers 🌟 star
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants