4 ms·
Why not use the buit-in keyboard-UI in the iPad?
by Flow 16y ago
Why not use the buit-in keyboard-UI in the iPad?
- mileszs 16y agoIt looks like the UI uses an editable div. I believe that editable divs do not trigger the built in keyboard on an iPhone, and there's no way to force it to do so.
- Flow 16y agoAlright, but shouldn't the solution be to allow the user to use either Google's keyboard or the built-in(by using textarea)? The built-in one has a dictionary and some autocompletion, which could be good or annoying... :)
- dnewcome 16y agoI have played with making an absolutely positioned single-char text input box in my custom editor (https://github.com/dnewcome/richie https://github.com/dnewcome/richie). The idea is that it forces the built-in keyboard to show but the input is caught and inserted into the DOM. I don't use contenteditable since it doesn't work on most mobile devices. My hacks are really rough but I think the technique could be polished eventually.
- gokhan 16y agoDon't work on iOS. In my web app, I display a plain textarea for iPhone and iPad, but it's not an IDE. Why doesn't @contenteditable work on the iPhone? http://stackoverflow.com/questions/723592/why-doesnt-contenteditable-work-on-the-iphone http://stackoverflow.com/questions/723592/why-doesnt-content... Is contentEditable not supported by iPad? http://www.quora.com/Is-contentEditable-not-supported-by-iPad http://www.quora.com/Is-contentEditable-not-supported-by-iPa...
- bergie 16y agoAFAIK it supports contentEditable, but just doesn't show the keyboard for those elements. So theoretically formatting commands and such work.