Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why does it keep refreshing the page?!

0.7082894736842106 f39efb125de9.js:922 "scaled container width: 566.6315789473684"



OP here. If you saw that on a guide page, that's an experimental script we're trying to rescale image containers to the viewport. A window resize would trigger a refresh. It's not clear if we'll keep the behavior. If you make an account, there is a profile option to turn it off (as well as the always-on hover over notes).


It would probably make sense to disable that effect on mobile--the constant address bar disappearing and reappearing mobile browsers do triggers a lot of refreshing. Maybe just listen for orientation-change events instead?

Very cool site otherwise, keep it up!


Great tip, thanks. It's been added to our To-Dos. We're reworking that functionality in general so it may be a little while before the fix is included, especially with all of us on deck for the Maker Faire this weekend.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: