Remix.run Logo
▲ annex-winged-cr a day ago

Just tested it on Android, glide delete and glide cursor control doesn't work.

Would it even be possible to make those work with a canvas?

▲hamza512b 19 hours ago | parent [-]

WOW, I have never know that these gesture even existed. I am not big mobile user. But i will diffently look in thoses.

▲chrismorgan 10 hours ago | parent [-]

And that’s a part of why I said the approach is bad: there’s a long tail of native features that depend on being able to see/interact with more than just the current word or selection or whatever, and you’re thwarting that. You cannot make a lot of them work, and the more effort you put into trying to cover them, the more you end up with something even unholier than contenteditable.

Give up. Seriously, please. Switch to DOM, it is genuinely mandatory for acceptable results.

You can get close enough on desktop that many users won’t notice, but you emphatically cannot reach even tolerable on mobile.

▲jarjoura an hour ago | parent [-]

Apparently VSCode's terminal window is also built on canvas.

https://code.visualstudio.com/blogs/2017/10/03/terminal-rend...