Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Paste files from clipboard into message field #93

Open
decheverri123 opened this issue Aug 2, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@decheverri123
Copy link

decheverri123 commented Aug 2, 2022

Describe the Bug

Enhancement
I cannot paste an image I have copied on my clipboard.

Expected Behavior
An image should be pasted as it does in the official discord client.

Category

Media (images, audio, video etc.)

@decheverri123 decheverri123 added bug Something isn't working triage Waiting for this issue to be triaged labels Aug 2, 2022
@cryptoAlgorithm
Copy link
Member

This isn't a bug: swiftUI simply doesn't support a paste handler and the TextField is hardcoded to always paste strings. Eventually I'll use a NSViewRepresentable to fix all these bugs related to the TextField, but I haven't gotten around to that.

@cryptoAlgorithm cryptoAlgorithm added enhancement New feature or request and removed bug Something isn't working triage Waiting for this issue to be triaged labels Aug 3, 2022
@cryptoAlgorithm cryptoAlgorithm changed the title [Bug]: Cannot copy paste image from clipboard [Enhancement]: Paste files from clipboard into message field Aug 3, 2022
@cryptoAlgorithm cryptoAlgorithm moved this to Todo in Swiftcord Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog (Enhancements)
Development

No branches or pull requests

2 participants