It seems nice, but i need it to work in the 3 main engines.
To clarify a point I make in the article: I agree you need your website to work in the 3 main engines. But that doesn't mean you have to limit yourself to only using features that are available in the 3 main engines.
There are many features that only work in 1 or 2 engines but that can be safely deployed today as a progressive enhancement. The performance APIs I mention in the article are a good example of that.
I found my old MacBook Pro from 2013 and was able to repro the issue you're seeing in Safari 16. I've deployed a fix, so it should be working for you now.
The issue was that Safari 16 had a bug that affects scrolling when the container-type CSS property is used on the root element. That bug was fixed before I added that CSS feature to my site earlier this year, which explains why my testing didn't catch it.
For what it's worth, this CSS feature is not new. It's been supported in all 3 browser engines since 2022.
I just checked my analytics and only 0.186% of visitors to my site were on Safari 16 since that CSS feature was added, so fortunately not too many people were impacted. I appreciate you bringing this to my attention!
Oh, this is very sensible and potentially very useful (obviously only if you've hit this issue, but I do constantly when I'm testing out browser APIs and it's incredibly annoying!). Great, automated sync against latest especially.
Oh, aside, but thanks for solved by flexbox and flexbugs. I can remember constantly using them as reference in my first job when I was replacing table- and clearfix- based layouts (2014/5-ish?)
Yes. The idea of having types out of the box is nice, yet there’s a point of using unstable API leading to annoyance. Basically so that u do not ignore the fact it is absent outside of chrome.
By fighting the friction developer is committing to “yea I know what I’m doing”. There must be friction in there, it stops issues in masses. As long as human produced, at least.
Otherwise the expectation is noticeable parts of the web would glitch either on your iphone or android because hell why not)
I agree that there should be friction in place when using features that are not Baseline. But I don't think TypeScript is the right place to have that friction.
If TypeScript is the only friction point you have guarding you from shipping features that'll break in some browsers, then you're already in trouble because its 2-engine rule is not sufficient. You need some additional guards (lint rules, cross-browser tests, etc)
Given that, and assuming that you DO already have some additional guard in place, at that point the lack of proper types for the single-engine APIs that you choose to use is no longer helpful.
As I say in the post, if you're going to use new APIs, it's much better to do so with proper types than to use it with @ts-ignore or as any.
While I applaud your work, some of this seems like it'd just be best to submit patches to the typescript library itself? Did you explore that at all?
I know the web has started to silo the last few years and people tend to always want to make something than patch, but that feels the best way to solve the problem. But I'm also not discounting you thought of that either.
edit: When I read the article, I missed the point they said. Thank you.
I'm sorry, but this is a bizarre response. It's a library that has a specific usecase and fixes a specific annoyance (caused by a sensible policy! But the annoyance absolutely exists for that specific usecase), and you're asking why they didn't make a library? This makes no sense, why are you saying they should have made a library in response to them making a library?
22
u/Pavlo100 Sep 21 '26
It seems nice, but i need it to work in the 3 main engines.
And i cant switch to Chromium, because it doesn’t support uBlock Origin
8
u/RobertKerans Sep 21 '26
Oh, this is very sensible and potentially very useful (obviously only if you've hit this issue, but I do constantly when I'm testing out browser APIs and it's incredibly annoying!). Great, automated sync against latest especially.
1
u/aspcartman Sep 22 '26
This is wrong in so many ways x)
Yes. The idea of having types out of the box is nice, yet there’s a point of using unstable API leading to annoyance. Basically so that u do not ignore the fact it is absent outside of chrome.
By fighting the friction developer is committing to “yea I know what I’m doing”. There must be friction in there, it stops issues in masses. As long as human produced, at least.
Otherwise the expectation is noticeable parts of the web would glitch either on your iphone or android because hell why not)
-4
u/pie-oh Sep 21 '26 edited Sep 23 '26
While I applaud your work, some of this seems like it'd just be best to submit patches to the typescript library itself? Did you explore that at all?
I know the web has started to silo the last few years and people tend to always want to make something than patch, but that feels the best way to solve the problem. But I'm also not discounting you thought of that either.
edit: When I read the article, I missed the point they said. Thank you.
0
u/[deleted] Sep 21 '26
[deleted] — view deleted comment