Jump to content
Search Community

440design

Members
  • Posts

    3
  • Joined

  • Last visited

440design's Achievements

0

Reputation

  1. Thanks for the answer. Unfortunately, this is not a solution to my problem. But I think that this topic can be closed.
  2. Hi ZachSaucier I think yes. I used touchpad on my Macbook and Magic Mouse 2. The effect was the same. Site examples: 1) https://tweenmax-smooth-scroll.webflow.io 2) https://tweenmax-smooth-scroll.webflow.io/2 Screen: https://giphy.com/gifs/S6kGqZiGacx6FyJmLC/fullscreen
  3. Hi, Does anybody know how to disable rubber-band effect in macOS with using tweenmax smooth scrolling? I know how to disable rubber-band using a simple code, but it doesn't work with smooth scrolling. I think it happens because smooth scrolling using body/html scroll indication. Is it possible to change scroll indication from body/html to any div element or is there any way to disable rubber-band effect? The simple custom code for disable rubber-band effect: html { height: 100%; width: 100%; overflow: hidden; } body { height: 100%; padding: 0; overflow: auto; margin: 0; -webkit-overflow-scrolling: touch; } Rubber-band in macOS Chrome browser: <iframe src="https://giphy.com/embed/S6kGqZiGacx6FyJmLC" width="480" height="300" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/S6kGqZiGacx6FyJmLC">via GIPHY</a></p>
×
×
  • Create New...