feat: Use intersection-observer polyfill to support IntersectionObserver#222
Conversation
|
/gcbrun Eventual staging example will be on https://storage.googleapis.com/staging.nodejs.dev/7344727/index.html |
Codecov Report
@@ Coverage Diff @@
## master #222 +/- ##
=========================================
Coverage ? 38.81%
=========================================
Files ? 20
Lines ? 237
Branches ? 56
=========================================
Hits ? 92
Misses ? 144
Partials ? 1
Continue to review full report at Codecov.
|
@sagirk, the Layout.tsx is indeed a much more appropriate place to do dynamic import of the polyfill within Observed a TS syntax message in quote below. Tied to resolve w. P.S.: Can I try |
|
/gcbrun Eventual staging example will be on https://storage.googleapis.com/staging.nodejs.dev/085f345/index.html |
|
@sagirk et al, friendly FYI that I’ve tested the staging on iPhone and confirmed the nav menu title color is transitioning correctly on my test. |
|
Ping / @sagirk |
There was a problem hiding this comment.
Hey Ben, sorry for going AWOL in the past few days. 🙈
LGTM! 🎉
Observed a TS syntax message in quote below. Tied to resolve w.
npm install @types/intersection-observer, but intersection-observer type is not available. What are your thoughts? Since this is just a TS script warning, I'd vote to do a follow-up to address it.
+1 to follow-up later when types become available.
Can I try
/gcbruntoo? Not sure how the access stuff works.
I wasn't not too sure, either. But considering that your comment did not trigger a build, I think you need to be a collaborator to do so.
Description
After researching polyfill for
IntersectionObserver, trying out theintersection-observerpolyfill from w3c in this PR.Navigation Title color looks okay in local testing with the XCode iOS Simulator (usually pretty native to real iPhone). Looking forward to review & testing more in staging.
Related Issues
Fixes #207