Skip to content
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

[popup] 在配置了 destroyOnClose 时关闭没有动效 #1585

Closed
mkdirnow opened this issue Sep 13, 2024 · 2 comments · Fixed by #1600
Closed

[popup] 在配置了 destroyOnClose 时关闭没有动效 #1585

mkdirnow opened this issue Sep 13, 2024 · 2 comments · Fixed by #1600
Labels
enhancement New feature or request

Comments

@mkdirnow
Copy link

tdesign-mobile-vue 版本

1.4.1

重现链接

No response

重现步骤

<t-popup v-model="visible" destroy-on-close>
  <!--  -->
</t-popup>

期望结果

关闭时有和未配置 destroyOnClose 时一样的动画效果

实际结果

关闭时直接消失了,不知道是不是特性

框架版本

Nuxt 3.13.1

浏览器版本

Chrome 128.0.6613.120

系统版本

macOS 14.6.1

Node版本

22.8.0

补充说明

目前解决方法是将 destroyOnClose 配置成动态的,在 popup 显示之前赋值成 false,在 popup 的 closed 事件中将其赋值成 true

Copy link
Contributor

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

@anlyyao anlyyao added the enhancement New feature or request label Sep 13, 2024
@anlyyao
Copy link
Collaborator

anlyyao commented Sep 24, 2024

感谢反馈,我来处理~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants