HeapsIO / heaps.io

Website sources
https://heaps.io
24 stars 17 forks source link

Samples keyboard #48

Closed ncannasse closed 5 years ago

ncannasse commented 5 years ago

Samples who needs keyboard does no seem to work , see https://heaps.io/samples/input.html for example. maybe they can't be focused ?

markknol commented 5 years ago

Do you request focus from heaps? This might be needed because samples run in iframe.

Otherwise the sample could be updated, where it says "tap for focus" if canvas is blurred, or something

ncannasse commented 5 years ago

I don't request focus, Heaps by default add listeners to the document body, but yes the iframe might be triggering some problem. Why the iframe btw ? :)

markknol commented 5 years ago

Ill try without iframe