tdesign-miniprogram icon indicating copy to clipboard operation
tdesign-miniprogram copied to clipboard

[Drawer] 当自定义导航栏时,菜单紧贴顶部

Open ElanYoung opened this issue 2 years ago • 5 comments

tdesign-miniprogram 版本

1.1.7

重现链接

No response

重现步骤

{
  "usingComponents": {},
  "navigationStyle": "custom"
}
<t-drawer
  visible="{{true}}"
  placement="left"
  items="{{sidebar}}"
  bind:overlay-click="overlayClick"
  bind:item-click="itemClick"
></t-drawer>

WX20230528-202031@2x

期望结果

希望当自定义导航栏时顶部留白,否则就得自己计算导航栏高度来自定义样式

实际结果

菜单紧贴顶部

基础库版本

2.32.0

补充说明

No response

ElanYoung avatar May 28 '23 12:05 ElanYoung

👋 @ElanYoung,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

github-actions[bot] avatar May 28 '23 12:05 github-actions[bot]

♥️ 有劳 @hedonghui @anlyyao 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @ElanYoung 。

github-actions[bot] avatar May 28 '23 12:05 github-actions[bot]

这个问题是全局性的,后续统一处理

LeeJim avatar May 30 '23 12:05 LeeJim

这个问题是全局性的,后续统一处理

okkk 我这个PR是不是还不行😭:#2039

ElanYoung avatar May 30 '23 12:05 ElanYoung

+1,刚用到这个组件发现,文字和手机左上角的状态栏干涉了,临时设置了个空格标题,让它换个行躲开了😭

wood-kite avatar Jan 08 '24 09:01 wood-kite

@wood-kite @ElanYoung 自定义导航栏场景下,开启一下 using-custom-navbar 属性

anlyyao avatar Jan 02 '25 11:01 anlyyao