mike douges @douges.dev · Dec 28

91. Have you ever had events get lost inside iframes? Yeah. With the scene in Triplex rendered in an iframe this was a big friction point. To fix this I forward events bidirectionally (parent <-> iframe) so for any key event it's broadcast everywhere. There was one issue I had to fix. See it?

0 likes 1 replies

?

Replies

mike douges · Dec 28

92. On line 27. Without that if statement I'd get into an infinite loop where the events would keep bouncing between the documents forever 😁. Another issue was on Windows without keyCode prop the event wouldn't trigger! There was an issue that I posted the fix on 😎. github.com/microsoft/vs...