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
- 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.
- Also it is found that callback necessary to make the n_click == 0 of span which displays the modal is not at all triggered.
- 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