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
If a user uses the show method they assume that it will open the modal with the same config as they used to init the modal. This is not the case, all config settings from the original init are replaced when using the show method.
In your instance you need to add closeTrigger to MicroModal.show:
Demo:
https://codepen.io/ezra_siton/pen/vYLRYqO?editors=1100
Only if I close the modal (by ESC) - and open the modal again the
close
button works fine.Maybe related:
#187
The text was updated successfully, but these errors were encountered: