Hello!
I’d like to host a typeform in a full-screen iFrame (for various reasons). I’m using the embed SDK for this.
The issue is that when the user clicks the “Escape” key, they aren’t prompted to exit the typeform. I have to manually create a div of an “exit” button that displays on the top of the screen to enable the user to escape / close the typeform.
I’ve also had to manually add function “close” to close the iframe using the data-tf-on-ending-button-click hook.
This is a sub-par user experience. I’d like the user to be able to escape the form by simply pressing escape. Is there an easy way to do this? (I also can’t just listen for the escape key, because the typeform iframe captures all keyboard events).