iPhone and Android support
I can do it for the iPhone, but someone else will have to test it on and Android phone since I can only use the simulator.
iPhone does not work now that we are using the latest mathquill!
oh yeah that's right at some point MathQuill sorta broke in Mobile Safari. It works if you tap a textbox and hit Next or Previous to get to the MathQuill textarea, but for some reason tapping on math won't focus the textarea. Apparently calling .focus() will not focus on a textarea in Mobile Safari, did that used to work? http://jsfiddle.net/Zfyra/1/
wait, http://jsfiddle.net/Zfyra/3/ works though
huh, I guess the problem is in Mobile Safari, .focus() only works onclick, and I switched to a setTimeout after mousedown. I love these kinds of completely random bugs, no-rhyme-or-reason bugs
Ok, actually, I've discovered that .focus() doesn't work in timeouts, or onload: http://jsfiddle.net/DLV2F/2/
If you try that in Mobile Safari, you can see that .focus() does not work on DOM ready, onload, or in timeouts, whereas all of those calls to .focus() work except the one in the mousedown handler work in all the modern desktop browsers (and not-so-modern ones including IE6). The one in the mousedown handler is not supposed to visibly work, because immediately after the input is focused, after the mousedown, the paragraph you clicked on gets focused so the input loses focus.
Actually, if you try the mousedown in Mobile Safari, something really interesting happens: on my slow iPod touch, the keyboard will actually come up partway before disappearing. On a much faster iPad, the screen just kind of jerks. Given that .focus() works great in the click and mouseup handlers in Mobile Safari, it appears that it works in mousedown too, but the input then loses focus to the paragraph you clicked, which is expected behavior.
Ok.
mathquill/5795c should fix the MathQuill problem, at least. You can try it out at http://mathquill.com/dev/demo.html
What other ways are you trying to get iPhone and Android support?
Well I think the user interface would have to be redone for mobiles, and the iPad. Thanks for fixing it.
That works well. The keyboard is a little bouncy haha, but it works.