Skip to content

[Drawer] mode=push 失效问题 #5573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Zn-Dk opened this issue Jun 6, 2025 · 1 comment
Open

[Drawer] mode=push 失效问题 #5573

Zn-Dk opened this issue Jun 6, 2025 · 1 comment
Labels
🐞 bug Something isn't working 🧐 unconfirmed waiting to be confirmed

Comments

@Zn-Dk
Copy link

Zn-Dk commented Jun 6, 2025

tdesign-vue-next 版本

1.13.2

重现链接

https://tdesign.tencent.com/vue-next/components/drawer#%E6%B8%B2%E6%9F%93%E5%92%8C%E5%91%88%E7%8E%B0%E5%9C%A8%E5%BD%93%E5%89%8D%E7%88%B6%E5%85%83%E7%B4%A0%E7%9A%84%E6%8A%BD%E5%B1%89

重现步骤

重新步骤可以直接在当前版本(1.13.2) 的演示界面里测试,渲染和呈现在当前父元素的抽屉,演示代码的抽屉弹出模式改为 push 的行为是异常的

回溯最近的一个版本 1.12.0, Example 是正常的
https://1_12_0-tdesign-vue-next.surge.sh/vue-next/components/drawer#%E6%B8%B2%E6%9F%93%E5%92%8C%E5%91%88%E7%8E%B0%E5%9C%A8%E5%BD%93%E5%89%8D%E7%88%B6%E5%85%83%E7%B4%A0%E7%9A%84%E6%8A%BD%E5%B1%89

实际过程中导致项目升级(1.11.3 -> 1.13.2) 出现异常

  • Parent index.vue
    Image

  • Child task-conf.vue
    Image

  • 样式异常
    Image

期望结果

正确显示 push 效果

实际结果

效果异常,父元素溢出

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@Zn-Dk Zn-Dk added 🐞 bug Something isn't working 🧐 unconfirmed waiting to be confirmed labels Jun 6, 2025
Copy link
Contributor

github-actions bot commented Jun 6, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🧐 unconfirmed waiting to be confirmed
Projects
None yet
Development

No branches or pull requests

1 participant