In iOS when a textarea is focussed and then the view scrolled down the cursor floats over the text area until a new input is selected. Is there a way to keep the cursor in place when the view scrolls?
Also is there a workaround to allow a multi-line textarea?
3 Answers, 1 is accepted
0
Dimo
Telerik team
answered on 12 Dec 2012, 01:42 PM
Hi Mat,
This looks like a browser bug related to the flexbox styles used in the Kendo Mobile Application. As a workaround, you can blur the textarea when the user scrolls:
if (activeEl.tagName.toLowerCase() == "textarea" && e.target != activeEl) {
activeEl.blur();
}
});
There is no limitation, which prevents you from using multiline textareas (I suppose you are referring to the textarea size, which is configurable via CSS or the rows HTML attribute, which is required anyway).
Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!