Hello. Yes that’s a a bug. Thanks for submitting it .
It happens when lightbox with a link and destination are on the same page.
How can you make things work?
You can add onClick event that will close lightbox and pass to outer page object with info about what button had been clicked. In outer page you make a scroll;
///In lightbox
dataObject = {clickedLink:‘example-url’};
lightbox.close(dataObject) ;
//In page
wixWindow.openLightbox(“LightboxName”) .then( (data) => { $w(data.clickedLink).scrollTo(); } );