-
Notifications
You must be signed in to change notification settings - Fork 114
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
The Member List Can't Be Autocompleted in IE #22
Comments
Yes, I never tested it on IE, there might be bugs to fix xD |
Hi @fritx I found the issue. You are using Can you insert the text using an alternative method, either Vue |
@pingshunhuangalex nice 👍 , but we have to insert the text right behind caret. https://stackoverflow.com/questions/3398378/execcommand-inserthtml-in-internet-explorer |
@fritx good catch, the updated the example from August 2013 did the trick (https://stackoverflow.com/questions/6690752/insert-html-at-caret-in-a-contenteditable-div/6691294#6691294). Tested in IE and it works. Will you be able to implement this any time soon? |
@pingshunhuangalex try please: 😆 npm i -S "git+https://github.com/fritx/vue-at.git#fix/ie-build" // use as before
import At from 'vue-at'
import At from 'vue-at/dist/vue-at-textarea.js' |
Hi @fritx I just tried the update above. It seems that the item can be selected now (at least the menu goes away when I click or press |
@pingshunhuangalex I've tested it again with Microsoft Edge and IE. ContentEditable: https://fritx.github.io/vue-at/#/en/quickstart I just merged the branch to 'dev' and updated the docs also, |
Thanks @fritx Updated docs work fine on my side, I'll have another go once the next release is out. Thanks again. |
@pingshunhuangalex hey, 2.3.0 is out, docs' been updated too: I've tested it from IE 9 to 11, with both editable div and textarea. |
Hi @fritx After some testing, I narrow down this to Except that, everything is working as expected. Thanks and keep up the good work :) |
@pingshunhuangalex hey, thanks for your feedback! Yes, I guess vue-at cannot work well with v-model at the time, 'cause it mutates dom (inserting texts) directly, and interrupts the mvvm principle. lol |
All good, thanks @fritx I think the above gotcha ya moment should be mentioned in the documentation, so new users won't get lost on it. |
Related PR: #46 |
Hi @fritx
It's me again.
After the latest update, everything seems to work perfectly in Chrome. However, when I'm doing some final testing on IE compatibility, it seems that the item in member list can't be autocompleted, regardless of using mouse cursor or pressing
Enter
. This issue can be reproducible in your doc example.It would be nice if you can shed some light on this. Thanks.
The text was updated successfully, but these errors were encountered: