Jump to content
Search Community

Ulprus

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Ulprus

  1. The issue I am having is that I am unable to pull down to refresh on mobiles while ScrollSmoother is enabled. I have found the following JS which does stop most of the ScrollSmoother:


    window.onload = () => {
    if (window.matchMedia('(max-width: 480px)').matches) {
    window._mp_smoother.kill();
    window.ScrollTrigger.killAll();
    } else {}
    }


    However, I am still unable to refresh on mobile by pull-down.

     

    Since I am using Motion.page, I am having to use JS externally.

×
×
  • Create New...