Open elsigh opened 4 years ago
inputStyle: textarea on mobile makes selection impossible (you cannot select text).
inputStyle: textarea
inputStyle: contenteditable on mobile (with the keyboard up) scrolls the cursor into view even with autoScroll: false and autoCursor: false.
inputStyle: contenteditable
autoScroll: false
autoCursor: false
Notice that I'm trying to scroll but can't, it keeps scrolling the cursor back in. This is the demo page.
I have an event listener for "scrollCursorIntoView" and it's firing every time I focus.. I've tried calling preventDefault() on it thinking that would help, but no dice so far.
preventDefault()
refs https://github.com/codemirror/CodeMirror/issues/6308
inputStyle: textarea
on mobile makes selection impossible (you cannot select text).inputStyle: contenteditable
on mobile (with the keyboard up) scrolls the cursor into view even withautoScroll: false
andautoCursor: false
.Notice that I'm trying to scroll but can't, it keeps scrolling the cursor back in. This is the demo page.