ant-design/ant-design

Modal 下 destroyOnClose 属性 失效

Open

#28,847 创建于 2021年1月13日

在 GitHub 查看
 (5 评论) (2 反应) (0 负责人)TypeScript (98,031 star) (54,612 fork)batch import
Inactivehelp wanted🐛 Bug

描述

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://fvrw0.csb.app/

Steps to reproduce

modal下使用video标签,播放后,关闭modal video or audio标签依然播放, 且重新打开modal 依然存在

What is expected?

modal关闭后销毁媒体标签

What is actually happening?

modal关闭后未销毁标签

Environment Info
antd 4.10.2
React 16.12.0
System win10
Browser firefox

贡献者指南