Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Working with span and modals

Hi all,

we have written code to display modal using spans n_click object. The code to close is also written within the span which makes the modal display none and hence hiding the modal. We are facing following problem in the implementation

  1. Above functionality works for one modal-span pair as the pairs increases the app starts to break and the modal is not closed even if we press the close span.
  2. Also it is found that callback necessary to make the n_click == 0 of span which displays the modal is not at all triggered.
  3. Also worth to mention that one interval event is also running in the background which is responsible for updating certain part of the app.

Thanks in advance