Tencent / tdesign-miniprogram

A Wechat MiniProgram UI components lib for TDesign.
https://tdesign.tencent.com/miniprogram
MIT License
1.22k stars 277 forks source link

[Picker] 蒙层覆盖不完整 #3045

Closed suleilei closed 1 week ago

github-actions[bot] commented 3 months ago

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

anlyyao commented 3 months ago

@suleilei 请提供完整的可复现路径或者代码片段

ks3dev commented 2 months ago

image

最新的 1.5.0 版本问题依然存在, 凡是有 overlay 遮罩层的,
image 为什么overlay 无端端的为什么要将top 设置为 84px ??????? 而且没有地方可以修改

ks3dev commented 2 months ago

@suleilei 请提供完整的可复现路径或者代码片段

希望尽快解决

hqzh commented 2 months ago

<view>
  <t-textarea t-class="external-class" label="标签文字" placeholder="请输入文字" disableDefaultPadding="{{true}}" />
  <t-cell class="mb-16" title="选择城市" arrow hover note="{{cityText}}" bind:click="onCityPicker" />

  <t-cell class="mb-16" title="选择时间" arrow hover note="{{dateText}}" bind:click="onSeasonPicker" />

  <t-picker visible="{{cityVisible}}" value="{{cityValue}}" data-key="city" title="选择城市" cancelBtn="取消" confirmBtn="确认" usingCustomNavbar bindchange="onPickerChange" bindpick="onColumnChange" bindcancel="onPickerCancel">
    <t-picker-item options="{{citys}}" />
  </t-picker>

  <t-picker visible="{{dateVisible}}" value="{{dateValue}}" data-key="date" title="选择时间" cancelBtn="取消" confirmBtn="确认" usingCustomNavbar bindchange="onPickerChange" bindpick="onColumnChange" bindcancel="onPickerCancel">
    <t-picker-item options="{{years}}"></t-picker-item>
    <t-picker-item options="{{seasons}}"></t-picker-item>
  </t-picker>
</view>
```js
hqzh commented 2 months ago

1725005135943

版本1.6.0

hqzh commented 2 months ago

@anlyyao

anlyyao commented 2 months ago

@ks3dev @hqzh usingCustomNavbar 属性代表什么意思? 你们使用了自定义导航条吗?如果没有请关闭。

hqzh commented 1 month ago

@ks3dev @hqzh usingCustomNavbar 属性代表什么意思? 你们使用了自定义导航条吗?如果没有请关闭。

确实是这个问题