Repository navigation
Commit 8216cfb
fix: 修复工具栏配置为 false 时的渲染问题 (#1591)
* fix: 修复工具栏配置为 false 时的渲染问题
* Create yellow-cougars-flow.md
* refactor: 移除工具栏高度更新逻辑
* chore: 更新 changeset 版本类型为 minor
* fix: 修复工具栏配置为 false 时的渲染问题
当 toolbar 和 toolbarRight 都为 false/空数组时,隐藏顶部工具栏 DOM;
统一将非数组的工具栏配置归一化为空数组
* feat(examples): add toolbar toggle demo
* refactor(cherry): 优化工具栏渲染与清理逻辑
* fix(cherry): 修复工具栏配置为 false 时的渲染问题
* fix(cherry): 修复工具栏显式禁用时意外显示的问题
* refactor(ui): 统一管理工具栏状态和样式
* fix: 修复工具栏CSS类与DOM状态不同步的问题
* refactor(core): 简化工具栏显隐逻辑
* fix(examples): 更新测试断言以匹配 shouldHide 逻辑
* fix(toolbar): 隐藏顶部工具栏
* fix: 重构工具栏逻辑,显隐逻辑收纳到事件的回调里
---------
Co-authored-by: sunsonliu(刘阳) <sunsonliu@tencent.com>1 parent 8ce661c commit 8216cfb
7 files changed
Lines changed: 652 additions & 31 deletions
File tree
- .changeset
- examples
- packages/cherry-markdown
- src
- toolbars
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments