Skip to main content

ScrollLock

Attempts to improve UX on mobile devices:

  • Disables scrolling on body element while Fancybox is visible.
  • Scales Fancybox container to fit screen dimensions to avoid situations where the dialog is only partially visible due to a zoomed page.