Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with Typio Form Recovery extension #141

Open
eee-c opened this issue Oct 9, 2018 · 0 comments
Open

Broken with Typio Form Recovery extension #141

eee-c opened this issue Oct 9, 2018 · 0 comments

Comments

@eee-c
Copy link
Owner

eee-c commented Oct 9, 2018

For some reason typio is intercepting key inputs and restoring the editor. This does not happen with the old version of 3DE, but that may be due to different version of ACE being used.

To reproduce, install Typio, make sure it's enabled, then create a project with the following code:

<body></body>
<script>

document.addEventListener("keydown",sendKeyDown);
function sendKeyDown(event){
  var code = event.code;
  alert('Pressed: ' + code);
}
</script>

Hide the code, then try pressing a key. The alert will show, but the editor will immediately restore. Even clicking in the page will restore the editor.

Attempting to disable the event with event.preventDefault() or event.stopImmediatePropagation() does not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant