【问题标题】:Stuck modal when position fixed bottom定位固定底部时卡住模态
【发布时间】:2020-10-05 13:49:30
【问题描述】:

我有固定底部位置的summernote。

Link code: https://pastebin.com/raw/NDu97cRY

当我运行这段代码时,我的模式卡住了。你有什么建议吗?

【问题讨论】:

标签: javascript html css bootstrap-4 summernote


【解决方案1】:

您可以删除 <div class="col-12 fixed-bottom"> 如果您告诉代码始终将其放在底部,则无法以其他方式完成

【讨论】:

    【解决方案2】:

    解决了。 如果模态在位置固定底部的 div 中,它将被卡住。所以,保存在 div 之外。

    $('.note-modal').appendTo("body");
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-12-01
      • 1970-01-01
      • 2011-03-25
      • 2013-12-25
      • 2017-04-27
      • 2016-09-17
      • 2018-03-26
      相关资源
      最近更新 更多