‹ BackHN Continuity

Thread

Why don't more developers “use the platform”?

304 points · 318 comments · vinhnx

  1. singpolyma3 · · focus · HN ↗
    > If you search for “sticky positioning” on npm, there’s no package that says “just use CSS position: sticky, you dolt.”

    You could maybe find a component that all it does is apply position:sticky though?

    1. littlecranky67 · · focus · HN ↗
      Maybe I'm too old, but remember position sticky is relatively "new" and I was around when browsers didn't support it, yet everybody demanded for "affix" solution [0] (the buzzword you would search to find a jquery plugin). Internet Explorer never had position: sticky, and FF only introduced it in 2014. And I dealt with projects until around at least 2017/2018 where enterprise clients would make any webdev required to run on IE12 too.

      [0]: <a href="https:&#x2F;&#x2F;www.w3schools.com&#x2F;bootstrap&#x2F;bootstrap_affix.asp" rel="nofollow">https:&#x2F;&#x2F;www.w3schools.com&#x2F;bootstrap&#x2F;bootstrap_affix.asp

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.