Comments (2)
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.
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)
- Shortening the link
- Enhance Setup Instructions Clarity and Conciseness
- Adding support for macOS to GitHub Actions tests HOT 2
- Adding a Language translation to social handles in the footer Section. HOT 3
- Home page Search bar placeholder HOT 2
- Add some border radius to start with p5.js button and input button HOT 3
- Add font-weight to navbar text so that it is visible properly. HOT 8
- Updating the list of editors in Getting Started (Atom has been sunset) HOT 2
- Sister site navigation not available on phones/smaller screens. HOT 1
- scope of improvement in the `home` page: Hindi HOT 1
- Category of p5.Framebuffer
- website bug HOT 4
- There is a link on the reference page for loadFont() which links to a website which supplies fonts for free but the font linked to does not appear to work HOT 1
- Improve Navbar of P5.js website
- Camera related examples look different after 1.9.0
- Broken link to "accessible-labels" page HOT 1
- Example for noLoop() in MediaElement Reference
- Typo/incorrect information on rectMode() Reference page HOT 2
- I'm not guided through if i just want to add small documentation fix or a typo HOT 1
- Not pointing to an official NPM package on the website HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p5.js-website-legacy.