Very nice. Have been watching this issue for a long time too.
Check out the following repo for the full implementation : https://github.com/alexmady/KeyboardTest
Seeing some very strange behaviour with spellcheck option. It does work sometimes randomly and the rest of the time it doesnāt
Demo here:
<textarea spellcheck="true" autocomplete="true"...
didnāt know these both attributes, sweet
let me know how you get on with spellcheck - for me it is nor working 100% of the time which is quite weird.
currently testing. look like itās working on iOS but not on Android (or at least on my Samsung Edge)
Update: maybe found something, give me 5min
well still same, autocomplete is not displayed on android. just noticed that the attribute āautocompleteā except āon/offā not ātrue/falseā
Final update, the autocomplete is working on my Nexus 5X / Android ⦠well then Iām guessing that the Samsung TouchWiz or whatever they put over Android block the autocomplete
Itās strange, it does work on my S7 Edge @Alexmady I saw this demo posted by @eakoriakin which looks pretty interesting regarding to elastic ion-inputs:
I think the spellcheck option works fine on android, iOS is the problem again. I think its due to the following issue:
2017-05-05 16:12:26.932712+0100 KeyboardTest[1257:707504] [MobileAssetError:29]
Unable to copy asset information from https://mesu.apple.com/assets/
for asset type com.apple.MobileAsset.TextInput.SpellChecker
Searching but cant find any fix for this, pretty sure its the reason for the spellcheck issues, seems like not an ionic issue but a ios issue.
@Alexmady maybe have you then try adding https://mesu.apple.com/assets/ to your Content-Security-Policy in index.html?
@Alexmady how do you make the youtube screenshot videos?
Plug my iPhone into the USB port of my mac with the lighting cable, the
open QuickTime and choose ānew movie recordingā. Then on the drop down near
to the record button select the iPhone as the recording input device, then
press record!
By the way⦠still experiencing the spellcheck issue on iOS devices, is it
just me?!
Are you using UIWebview or WkWebview for IOS? Iāve had a load of problems with chat in WKWebView. But Iām going to try to implement a demo similar to yours. Also have you tried your demo app with ionic-refresher?
@maith123 I am not sure actually, how do I check whether I am using
UIWebview or WkWebview?
What is ion-refresher and how might it help?
I believe the simplest way would be to run cordova plugin list
and see if it lists cordova-plugin-wkwebview-engine
.
So I ran the command and itās not listed. What is the anticipated benefit
of adding it in this particular case?
Im not sure about this particular case as Iāll have to try it. But itāll be much smoother for scrolling and your app generally loads a lot faster. However, Iāve been struggling with creating a streamlined chat app for while now. Iām almost there. Iāll give your code a try within wkwebview and see if it works then share. Also the ion-refresher helps loads more messages so you donāt need to load all your messages as soon as you open your chat view page, aka a load more button but it works by scrolling to the top of the page.
Sounds good. Will also give the wkwebview a whirl.
Have you also had problems with the spellchecker on iOS by the way?