ok, so far in Chrome it appears using setTimeout(fn, 0) asap is the only reliable way to make sure input events don't cause frames to drop
-
-
Replying to @yoshuawuyts
Did you try and play with this? https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage …
1 reply 0 retweets 0 likes -
Replying to @mantoni
ya think I've used that to hack on iframe rpc once, been a year so not entirely sure anymore haha - thought it had cool properties
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
I think if you post on the local window, it’s async asap but doesn’t bypass the event queue. Might be a good fit for your case.
1 reply 0 retweets 1 like
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.