3 ms·
You mean position: sticky? [1] Yeah, that took way too long, leading to horrible JS implementations, but it's there now. [1] https://developer.mozilla.org/en-U
by currysausage 10y ago
You mean position: sticky? [1] Yeah, that took way too long, leading to horrible JS implementations, but it's there now.
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/position#Sticky_positioning https://developer.mozilla.org/en-US/docs/Web/CSS/position#St...
- noir_lord 10y agoI can't wait for that to be supported but MS Edge currently doesn't support it (though it's under consideration).
- currysausage 10y agoWith an ever-declining IE/Edge market share, I usually rely on the principle of progressive enhancement and accept that certain non-essential features will only be available to users of modern web browsers (unless, of course, a specific project has an unusually high number of IE/Edge users, e.g. intranet applications).
- ry_ry 10y agoDeclining, but still non-trivial. We dropped IE10 support when we stopped doing IE9 a year or so ago because they both had similarly insignificant numbers, and the opportunity cost of supporting them was too high. IE11/Edge are also showing fairly similar numbers, which suggests edge uptake is slow, but even factoring in the extra hours, the bugs they generate (usually weird flex issues in both cases) we still effectively make more money by supporting them than not.
- currysausage 10y agoYeah, relying on progressive enhancement is obviously only viable when we talk about nice-to-have features. Sticky headers will often fall into this category.