hackmd-io-issues
hackmd-io-issues copied to clipboard
Can't tap and hold on Firefox Android in text field to highlight, cut, paste, select all, share, etc
Is this a hackmd.io issue?
- [x] Yes, the bug happens on https://hackmd.io
- [ ] No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd
What's the problem
Current behaviour
Can't tap and hold on my phone to paste text, highlight text, select all, cut, copy, etc.
Environment
I use HackMD on:
Mobile
- Device: Xiaomi Redmi Note 4X
- OS: Android 6.0
- Browser: Firefox v 68.0
Additional context
Add any other context about the problem here.
Example of this working as I write this:
This partially works in Chrome, allowing to paste and select all, but not to highlight, cut and copy.
Hi @jamesray1,
Thanks for reporting!
This is a known issue due to the implementation of the text editor we chosen. It uses a tiny input when you try to type, so the input area won't expand all over the line which cause the problem of triggering selection.
Okay, thanks. I suppose that's what's also causing the keyboard to not display often as well?
Okay, thanks. I suppose that's what's also causing the keyboard to not display often as well?
Yes, it is the root cause of many mobile input issues.
Same on chrome on android
This is a known issue from CodeMirror and can't be solved easily. CodeMirror 6 seems able to fix this, just stay tuned.
I wouldn't hold my breath :)
There is a "hope" from the codemirror community that their rewrite (version 6) will fix it but there is no direct fix yet.
Also version 6 says that the documentation is incomplete and several essential extensions have not been implemented yet.
The only good news is that a double click on a word allows you to select that word and choose an option like Copy.
Thanks
On Tue, May 12, 2020, 17:23 Max Wu [email protected] wrote:
This is a known issue from CodeMirror and can't be solved easily. CodeMirror 6 seems able to fix this, just stay tuned.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hackmdio/hackmd-io-issues/issues/97#issuecomment-627377599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFUFVFJZLGLVABO36CPXEGDRRFLUPANCNFSM4ICVMW7Q .
@nicosmaris this
The only good news is that a double click on a word allows you to select that word and choose an option like Copy.
doesn't work on a iPhone.
any updates on this issue?
Hi everyone,
As I mentioned earlier, there isn't a decent progress that our current editor will have better support of triggering text context menu since the input box is hidden and small.
But we found that if you're an Android user and you can install Gboard, it provides cursor control and text editing buttons on virtual keyboard. ref: https://www.xda-developers.com/gboard-v6-2-adds-cursor-control-cutcopypaste-buttons-and-adjustable-keyboard-dimensions/
the problem still there, still annoying
Confirming. Still an issue, on iOS 15.6.1
This makes mobile editing almost unusable. I'd rather have a boilerplate mobild text entry box that I can paste in than the syntax colored HackMD editor with Markdown shortcut buttons that I can't.
Surprised this issue is still active 4years after reporting. This bug would prevent many organisations switching from notion/confluence.
Would love to use it if I could copy-paste in iOS!