chiunhau / p5-manager

A p5js template builder & sketches manager. Built for p5js enthusiasts.
348 stars 53 forks source link

Keyboard events appear to not be firing in GUI mode #32

Closed chris-erxnieves closed 6 years ago

chris-erxnieves commented 6 years ago

Thank you so much for doing this project! I'm just getting into using p5.js and this project has been an absolute godsend.

It appears that keyboard events aren't firing in GUI mode only. It looks like mouse events like mouseMoved fire correctly. I wonder if the keyboard events are just failing to be passed along into the iframe.

chiunhau commented 6 years ago

@chris-erxleben Hi thanks for reporting this. Yes I think it's due to the iframe. And I found that it will work if I click the iframe area first and start testing keyboard. Interesting 🤣

chiunhau commented 6 years ago

Okay I fixed it!! See 0.4.1