【问题标题】:How to create a draggable modal in Dash python?如何在 Dash python 中创建可拖动模式?
【发布时间】:2021-06-20 17:04:53
【问题描述】:

我想在 plotly-Dash python 中创建一个模态。我可以用Modal components of bootstrap Dash 创建它。问题是:

1- 我无法拖动模态框。

2- 我无法与模态的背面交互。

有没有办法解决这些问题?

是否有其他组件可以代替 Modal 组件?

【问题讨论】:

    标签: python-3.x bootstrap-modal plotly-dash


    【解决方案1】:

    您可以通过导入模块在 Dash 应用程序中仅使用 HTML 和 CSS 创建模式 dash_html_components,如何制作模态的分步代码可以更好地解释here

    【讨论】:

      猜你喜欢
      • 2016-09-17
      • 2022-07-01
      • 1970-01-01
      • 1970-01-01
      • 2020-04-29
      • 1970-01-01
      • 1970-01-01
      • 2011-02-02
      • 1970-01-01
      相关资源
      最近更新 更多