fix: 进度条平滑过渡 — force reflow 技巧确保 CSS transition 生效
- 临时关 transition → 设旧值 → offsetWidth reflow → 开 transition → 设新值 - DOM 复用: 首次 innerHTML 创建, 后续只改属性 - 进度条从旧值滑到新值, 不再闪现 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -262,5 +262,27 @@
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 27544.2709947
|
||||
},
|
||||
"29ffcf99": {
|
||||
"plugin_name": "example_plugin",
|
||||
"permissions": [
|
||||
"plugin.example.read",
|
||||
"plugin.example.write",
|
||||
"plugin.example.execute",
|
||||
"framework.event.subscribe",
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 27821.237625479
|
||||
},
|
||||
"bd46f35e": {
|
||||
"plugin_name": "sentinel",
|
||||
"permissions": [
|
||||
"plugin.sentinel.read",
|
||||
"plugin.sentinel.write",
|
||||
"plugin.network.access",
|
||||
"framework.event.subscribe",
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 27821.239961313
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user