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
where this._id points to a modal container, and this._onOpen is the callback function. However, I noticed that this._onOpen is invoked twice everytime the Modal is opened.
Also, if I changeel.trigger('opened').trigger('opened.fndtn.reveal') to el.trigger('opened.fndtn.reveal') (in file foundation.reveal.js), this can resolve the issue but surely it's not the solution.
Can you give me any hints? Did I do something improper?
Cheers
The text was updated successfully, but these errors were encountered:
@rafibomb Thank you for your response. I also found another issue caused by this so I think it'd better to let your team know:
See foundation.dropdown.js, where you find self.S(this).trigger('closed').trigger('closed.fndtn.dropdown', [dropdown]);
This will trigger the closed event for sure however, it seems closed event will trigger a Reveal modal to be closed. Therefore, if you use dropdown button in a Reveal modal, whenever you close the collapse dropdown button, the Reveal modal gets closed too.
Dear Foundation Team:
I'm not sure this is expected or not, but after doing this:
where
this._id
points to a modal container, andthis._onOpen
is the callback function. However, I noticed thatthis._onOpen
is invoked twice everytime the Modal is opened.Also, if I change
el.trigger('opened').trigger('opened.fndtn.reveal')
toel.trigger('opened.fndtn.reveal')
(in filefoundation.reveal.js
), this can resolve the issue but surely it's not the solution.Can you give me any hints? Did I do something improper?
Cheers
The text was updated successfully, but these errors were encountered: