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

seems like the better solution is for the browser to take into account the sticky block when scrolling to the desired content.


The problem, I guess, is that there can be legitimate transparent-ish overlays (covering large parts or the whole of the viewport), and it would be difficult to find a sensible logic that works well in most cases in practice.

Anyway, it doesn’t matter much what would be the better solution as long as browsers don’t implement it.


yah, it's fraught with edge cases, but every browser/dom feature seems to need to run a gauntlet of them anyway, so i'm not sure this one is especially complicated.

but the slowness of new features is definitely frustrating, even if understandable.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: