Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ice3主应用引入微应用的配置,使用sandbox:true,页面会很卡顿 #7010

Open
yyyyffqqqq opened this issue Oct 26, 2024 · 1 comment
Labels

Comments

@yyyyffqqqq
Copy link

yyyyffqqqq commented Oct 26, 2024

Describe the bug

ice3的主应用引入微应用的配置,使用sandbox:true,微应用页面会很卡顿

Expected behavior

微应用页面会卡顿,不使用长列表虚拟滚动的时候,肉眼还感觉不到太卡,使用长列表虚拟滚动就能感觉很卡顿,设置sandbox:false,则原本卡顿的页面,滚动就很流畅

Actual behavior

No response

Version of ice.js

"@ice/app": "3.4.12"

Content of build.json or ice.config.mts

No response

Additional context

引用微应用的配置:

{
name: '',
title: '',
activePath: ``,
sandbox: true,
cached: false,
loadScriptMode: 'fetch',
scriptAttributes: ['crossorigin=anonymous'],
entry: xx/index.html ,
},

@yyyyffqqqq yyyyffqqqq added the bug label Oct 26, 2024
@ClarkXia
Copy link
Collaborator

观察下堆栈,sandbox 开启容易导致一些执行在沙箱环境未卸载

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

No branches or pull requests

2 participants