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

[Tooltip/Popup] 如果所处组件的父元素,设置了全屏,弹窗就无法弹窗。

Open zhoulujun opened this issue 1 year ago • 2 comments

tdesign-vue 版本

1.6.8

重现链接

No response

重现步骤

无法股提供案例,因为全屏权限被禁 image `vue

<!-- 使用 content 属性渲染浮层内容 -->
<t-popup content="可以在浮层内容中描述禁用原因">
  <div><t-button variant="outline" disabled>禁用状态</t-button></div>
</t-popup>

<!-- 使用 content 插槽渲染浮层内容 -->
<!-- slot="content" 写法不建议使用,请使用 #content 写法 -->
<t-popup>
  <t-button variant="outline">触发元素</t-button>
  <!-- <div slot="content">触发元素是指触发浮层内容显示的元素</div> -->
  <template #content>
    <div>触发元素是指触发浮层内容显示的元素</div>
  </template>
</t-popup>

<!-- 使用 content 渲染函数输出浮层内容 -->
<t-popup :content="renderPopupContent">
  <t-button variant="outline">浮层内容</t-button>
</t-popup>

`

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

zhoulujun avatar Nov 21 '23 02:11 zhoulujun

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

github-actions[bot] avatar Nov 21 '23 02:11 github-actions[bot]

attach 改成父组件?

uyarn avatar Nov 21 '23 07:11 uyarn