gpt4 book ai didi

javascript - Bootstrap 模式关闭时,Firefox 18中没有触发Transitionend事件

转载 作者:太空宇宙 更新时间:2023-11-03 19:34:07 24 4
gpt4 key购买 nike

我在Firefox上存在此问题,请在我的网站上,单击“发布事件”按钮,然后关闭模式。如您所见,模态背景仍然存在,并且可以防止用户交互。这是div

<div class="modal-backdrop fade"></div>


我读过firefox在转换方面存在一些问题,但是我发现大部分是CSS问题/修复程序,而这看起来更像是一个js错误。实际上,问题在于FF永远不会触发transitionend事件。

有什么建议吗?

最佳答案

将此添加到您的CSS:

.modal.in .modal-dialog {
-moz-transform: translate(0,0) !important;
}

关于javascript - Bootstrap 模式关闭时,Firefox 18中没有触发Transitionend事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14816530/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com