You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using backspace in most cases, the plugin does the right thing and continues to give suggestions for the remaining part of the word. This can be seen here:
In some cases, when you hit backspace, the suggestions stop showing up for the rest of the word. This can be seen here:
This behavior can be reproduced on the in-browser editor offered by BitBucket.
I have not looked into what exactly is going wrong.
The text was updated successfully, but these errors were encountered:
I did a quick check. It looks like data-varnam-input-value attribute on the editor is not getting updated when pressing backspace. On other textareas it works well.
I have also noticed that Bitbucket is using Codemirror as the editor and codemirror may be intercepting some events.
In the JS console, try document.activeElement.value, you should see it is not giving full value. It is giving only the value for the current line. So because of this, hasTextChanged() method returns false causing no server requests and no suggestions.
When using backspace in most cases, the plugin does the right thing and continues to give suggestions for the remaining part of the word. This can be seen here:
In some cases, when you hit backspace, the suggestions stop showing up for the rest of the word. This can be seen here:
This behavior can be reproduced on the in-browser editor offered by BitBucket.
I have not looked into what exactly is going wrong.
The text was updated successfully, but these errors were encountered: