Hrmmm...this should use Intersection Observers. No data provided but dismissed?
/cc @aerotwisthttps://twitter.com/openwebdaily/status/751362746877304832 …
-
-
Replying to @slightlylate
/cc
@DasSurma, since he was doing the work on this.2 replies 0 retweets 0 likes -
Replying to @aerotwist @slightlylate
Comp worklet seems like the desirable solution, since even the current version could get out-of-sync.
1 reply 0 retweets 0 likes -
In general I was under the impression that IOs are not suitable for visual effects
1 reply 0 retweets 0 likes -
Replying to @DasSurma
: for this they totally are. Designed for it, in fact.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @DasSurma
I agree we need data here, but the spec _seems_ loose on timeliness (100ms): https://wicg.github.io/IntersectionObserver/#queue-intersection-observer-task …
2 replies 0 retweets 0 likes -
Replying to @aerotwist
: FWIW, I designed IO *explicitly* for this case. Using it here will help you avoid jank on low-end devices.
1 reply 0 retweets 3 likes
: if you set up your viewport "guards" well, should be able to overdraw less & do less main thread work.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.