Giter Club home page Giter Club logo

Comments (8)

clementroche avatar clementroche commented on September 15, 2024

please provide a codesandbox

from lenis.

VladDigitalOriginal avatar VladDigitalOriginal commented on September 15, 2024

The bug is only reproduced in preview in Safari.

Maybe some refreshes required to reproduce.

npm run build
npm run preview

codesandbox

edit: update codesandbox link

from lenis.

clementroche avatar clementroche commented on September 15, 2024

Which version of Safari are you using ? It works for me using 16.4.

from lenis.

VladDigitalOriginal avatar VladDigitalOriginal commented on September 15, 2024

My Safari version is 16.6, but I've also encountered it in previous versions. You can try to check it here; a few reloads may be required. Additionally, there is a rotateY based on velocity, and when this bug occurs, the velocity is always equal to 0.

Here is a video where I attempt to scroll, but it appears to be "locked":

Screen.Recording.2023-08-29.at.13.23.00.mov

from lenis.

clementroche avatar clementroche commented on September 15, 2024

@VladDigitalOriginal are you trying to scroll during the scrollTo animation ?

from lenis.

VladDigitalOriginal avatar VladDigitalOriginal commented on September 15, 2024

@clementroche yes

from lenis.

clementroche avatar clementroche commented on September 15, 2024

maybe related #103

from lenis.

VladDigitalOriginal avatar VladDigitalOriginal commented on September 15, 2024

I had the same issue as #103 and wrapper: document.body fixed it, but problem with locked scrollTo (and zero velocity) remains

from lenis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.