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
子应用下 document.body 还是会出现逃逸问题,目前限制在子应用内操作,会直接到主应用的body下
效果如下:
子应用源代码:
主应用源代码:
The text was updated successfully, but these errors were encountered:
如果子应用需要把元素挂载到body,在iframe模式下确实一直有这个问题,现在会把元素挂载到主应用的body上面,原因就是子应用的document.body指向了父应用的body
Sorry, something went wrong.
发现iframe模式下子应用的多个第三方的依赖因为body出现问题了,像antd的message,会挂载到主应用上面而无法消失,handsontable会在失去焦点时崩溃,还有视频播放插件等,with模式不存在这样的问题,但是vite项目又无法使用with模式
No branches or pull requests
子应用下 document.body 还是会出现逃逸问题,目前限制在子应用内操作,会直接到主应用的body下
效果如下:
子应用源代码:
主应用源代码:
环境信息
The text was updated successfully, but these errors were encountered: