Commit aa10527
committed
fix: correct bubble height calc on cold start
1. Replace appIcon.width with appIcon.sourceSize.width for bodyText
preferredWidth calculation to avoid layout dependency issues
2. Fix bubble popup position error caused by incorrect width during
cold start when icon width is not yet finalized
Log: Fix incorrect bubble height calculation causing wrong popup position on cold start
fix: 修复冷启动时气泡高度计算错误
1. 将 bodyText 宽度计算中的 appIcon.width 替换为 appIcon.sourceSize.width,
避免依赖未就绪的布局宽度
2. 修复冷启动时图标宽度尚未确定导致气泡弹出位置不正确的问题
Log: 修复冷启动时气泡高度计算错误导致弹出位置偏移的问题
PMS: BUG-3621431 parent ae3a27b commit aa10527
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
0 commit comments