We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
util/src/color/torgb.ts
Lines 10 to 16 in c499a30
在 tmp element 被第三方卸载之后(例如在 next.js 下,如果路由变化会触发 body 元素刷新的话,原有 body 里的所有手动添加的 dom 元素都会丢失掉),继续调用 toRGBString 会抛出异常:
感觉这里应该从 dom 树里,而不是全局变量里拿元素
The text was updated successfully, but these errors were encountered:
fix: fix the way to get the tmp element (antvis#115)
7cefa29
febc1f3
fix: fix the way to get the tmp element (#115) (#116)
b00dbcf
* fix: fix the way to get the tmp element (#115) * test: fix ci issues
Successfully merging a pull request may close this issue.
util/src/color/torgb.ts
Lines 10 to 16 in c499a30
在 tmp element 被第三方卸载之后(例如在 next.js 下,如果路由变化会触发 body 元素刷新的话,原有 body 里的所有手动添加的 dom 元素都会丢失掉),继续调用 toRGBString 会抛出异常:
感觉这里应该从 dom 树里,而不是全局变量里拿元素
The text was updated successfully, but these errors were encountered: