HomeiOS Developmenthtml - iOS Safari when contenteditable=true and spellcheck=false clicking on a phrase...

html – iOS Safari when contenteditable=true and spellcheck=false clicking on a phrase that will have been marked as incorrect opens suggestion menu


I’ve a <div contenteditable="true" spellcheck="false"> HTML aspect. Phrases which have incorrect spelling do not present with a crimson underline which is nice however when the consumer faucets on the phrase the correction menu opens and recommends totally different spellings.

No crimson underline on the phrase Iroh, good:

After tapping on the phrase a correction menu opens, unhealthy:

If I set autocorrect="false" to my aspect then this menu doesn’t seem when the phrase is tapped however then the consumer does not get spelling ideas because the consumer varieties which I do need.

That is for an app utilizing WKWebView so open to options in native Goal-C or Swift code. I’ve dug round within the WebKit supply code for about an hour however am struggling to seek out the code which opens this menu. If I might discover the WebKit supply code controlling this menu perhaps I might discover a resolution?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments