garfish
garfish copied to clipboard
Failed to execute 'setAttributeNS' on 'Element'
Describe the bug
- 子应用中有个 svg 有属性 xmlns:xlink,garfish 加载它的时候会报错
可以通过官网 Demo 这里复现:https://stackblitz.com/edit/garfish-demo?file=sub%2Fpublic%2Findex.html 在这个文件 的 body 里加一行
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="position: absolute; width: 0; height: 0">
Reproduction
https://stackblitz.com/edit/garfish-demo?file=sub%2Fpublic%2Findex.html
Used Package Manager
pnpm
System Info
System:
OS: macOS 12.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 160.57 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
Browsers:
Chrome: 102.0.5005.115
Safari: 15.5
npm
garfish: 1.8.2
Validations
- [X] Read the docs.
- [X] Read the common issues list.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Make sure this is a Garfish issue and not a framework-specific issue.
- [X] The provided reproduction is a minimal reproducible example of the bug.
请问这个问题解决了吗,我在1.9.0复现了这个问题。
+1, 我们也遇到了这个问题, 请问有解决方案了么