You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for a way to see if the modal has already been closed once or .destroy() has been called.
I got around it by adding a classed on modal close, and the checking if the modal exists with that class, it's a little hacky. Wondering if there is a better option here.
The text was updated successfully, but these errors were encountered:
Right, I did. getState() can tell me when it's closed, but it will also say closed before it's been activated once. Events is what I use to add the CSS class I mentioned in the first comment. Doesn't help.
I am looking for a way to see if the modal has already been closed once or .destroy() has been called.
I got around it by adding a classed on modal close, and the checking if the modal exists with that class, it's a little hacky. Wondering if there is a better option here.
The text was updated successfully, but these errors were encountered: