You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text selection – no support for macOS text drag and drop #4896
codemirrorIssues related to our use of CodeMirror that may require upstream fixesenhancementhelp wantedIssues marked as ideal for external contributors
The general drag and drop as expected does not work. Normally one should be able to grab selected text and then drag it somewhere to be dropped. This is a minor issue, but one of the kind which when they happen will stop you right in the track and go "oh, one more of these things… Sigh".
Version
GitHub Desktop: 1.2.3
Operating system: macOS 10.12.6 (16G1408)
Steps to Reproduce
Select source text/code in the diff view.
Try to use drag it to the Finder, or any text editor, or code editor.
Expected Behavior
I expect to be able to drag the text selection to a target of my choice.
Example of expected behaviour:
Actual Behavior
The selection blurs and disappears.
Additional Information
This also works in Chrome 67 in case you were wondering.
Thanks @NiklasBr for the issue. Since this isn't something we've seen others struggling with, nobody has picked it up, and it's only an issue in diffs as @niik pointed out, I'm going to close this. We're definitely always open to reopening if it's a problem that others are experiencing. Thanks again!
codemirrorIssues related to our use of CodeMirror that may require upstream fixesenhancementhelp wantedIssues marked as ideal for external contributors
Activity
niik commentedon Jun 8, 2018
Hey @NiklasBr, thanks for opening this.
To clarify, this only affects the diffs, text selection from other areas of the app where we allow it seem to work as intended.
Looking at https://codemirror.net/demo/markselection.html I'm able to drag text so I'm wondering if we're doing something special with regards to how we use CodeMirror here.
I think we'd welcome some help with troubleshooting why this is happening so I'm gonna mark this as help-wanted.
billygriffin commentedon Nov 20, 2019
Thanks @NiklasBr for the issue. Since this isn't something we've seen others struggling with, nobody has picked it up, and it's only an issue in diffs as @niik pointed out, I'm going to close this. We're definitely always open to reopening if it's a problem that others are experiencing. Thanks again!