Hey guys,
I am also facing the same issue. I tried implementing the solution mentioned above with this code.
export function CloseButton_click ( event ) {
wixWindow . lightbox . close ();
wixWindow . openLightbox ( “Lightbox 2” );
}
It works well in the preview mode but does not work on the live site for some reason. Let me know if I’m missing something