Lightbox href=“#” Native Fix

Currently, lightboxes are set to href=“#”.


While I understand why this is, it makes the lightbox jump to the top of the page on click. Surely there must be a native fix for this?

  • Josh Jacobs
  • Jul 27 2021
  • Reviewed