Open elsigh opened 4 years ago
Can confirm that this happens too, using Chrome for Android.
Hey, I have been assigned on gitpay to resolve this. Can you please assign it to me
also I need a proper description on how to reproduce the issue it would be a great help
@rogdevil - you can repro like so: 1) Grab an Android phone 2) Visit any of the demos, but go for https://codemirror.net/demo/html5complete.html 3) Tap into the code's container and then scroll the page down and try to tap into a part of the code and notice that you can't get your tap to put the cursor where you're tapping - sometimes it jumps on me, sometimes it puts the cursor into completely the wrong place, sometimes it scrolls the whole page somewhere else. It's just really hard / frustrating to get your cursor to a specifically tapped spot.
yes, the bug occurs sometimes. do this same happens on the code in the repo?
@rogdevil I don't understand your question, but you can reproduce this problem with this repository
This is still an issue. I have this issue on iOS when trying to tap or type or paste anything. It won't type where I want to but jumps somewhere randomly (usually top or middle of a command).
Hello there! Can I work on this issue? I have experience with CodeMirror.
Here's a gif from one of the demo pages.
I've tried calling
preventDefault()
in ascrollCursorIntoView
handler.When I set
inputStyle: textarea
the scrolling/focus behavior works as expected from a user experience point of view. However withinputStyle: textarea
it seems we cannot longpress and select text. So kind of stuck between a rock and a hard place =)