lenis
lenis copied to clipboard
Address bar not closing automatically on scroll in mobile browsers when using Lenis
When integrating Lenis into my web application, I noticed that the Address bar in the mobile browser does not close automatically when scrolling down or up. Instead, it remains open all the time.
The Address bar should close automatically when scrolling down and open when scrolling up, providing a cleaner browsing experience for mobile users.
you mean using syncTouch:true ? This is currently impossible
yes as I mentioned, this is currently not possible due to browsers limitations, only native events can trigger these actions ( the ones with isTrusted:true ). It's for security reasons I guess. That's the same reason why you cannot hide and show this bar programmaticaly.