Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

enableLiveAutocompletion doesn't work as expected with Ace Editor when firepad is integrated. #361

Open
mbsyaswanth opened this issue Apr 8, 2020 · 0 comments

Comments

@mbsyaswanth
Copy link

Version info

Firebase: 7.6.2 , cdn - https://www.gstatic.com/firebasejs/7.6.2/firebase.js

Firepad: v1.5.9

Ace: 1.2.5 , cdn - https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.5/ace.js

using (React Ace)[https://github.com/securingsincity/react-ace/blob/master/docs/Ace.md] for ace editor and passing its instance to firepad. Not using the above cdn for creating ace editor instance.

Test case

Steps to reproduce

initialize firepad with ace editor, and pass enableLiveAutocompletion : true to it.

Use (React Ace)[https://github.com/securingsincity/react-ace/blob/master/docs/Ace.md] for ace editor and pass its instance to firepad. Not using the above cdn for creating ace editor instance. we can get ReactAce instance from onLoad function.

Expected behavior

when typing in the editor, expect to get auto suggestions.
Try this here - http://securingsincity.github.io/react-ace/ with enableLiveAutocompletion checkbox enabled.

Actual behavior

when i enter g, then press space, then another g adds automatically. no suggestions are seen. multiple letters are being typed on single letter input.

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

No branches or pull requests

1 participant