Code Monkey home page Code Monkey logo

Comments (2)

limzykenneth avatar limzykenneth commented on June 16, 2024

Can confirm this is happening on Chrome only, tested Safari and Firefox as well (all on macOS).

I tried to debug and fix this but I end up more confused than when I started. What is happening is that somehow the animate call (same goes for changing it to css call as well, just faster), to animate the top margin of the sidebar, is changing the value of the window scrollTop value when no such call is made anywhere. And probably when the window scrollTop value is changed like this, the window scroll event is triggered and the loop continues. I tried some native values instead of jQuery values but the problem remain still.

I believe this is a bug with Chrome itself although I cannot figure out why it is happening or find reference to similar problem online...

from p5.js-website-legacy.

lmccart avatar lmccart commented on June 16, 2024

Thanks, I just took out the scroll for now. This does seem to have appeared out of nowhere and based on @limzykenneth's tests, I'd guess it is a chrome bug. I'll keep watching it and trying and see if something changes with chrome.

from p5.js-website-legacy.

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.