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

Global on_paste event listener #3055

Open
dentro-innovation opened this issue Apr 9, 2024 · 1 comment · May be fixed by #3078
Open

Global on_paste event listener #3055

dentro-innovation opened this issue Apr 9, 2024 · 1 comment · May be fixed by #3078
Assignees
Labels
feature request A feature you wanted added to reflex

Comments

@dentro-innovation
Copy link

Describe the Custom Component

  • What is the purpose of the custom component?
    Event handler that's called when anything is pasted in, e.g. text or files

  • What is the expected behavior of the custom component?
    Handle data that's pasted in via the user clipboard

  • What are the use cases for the custom component?
    Allow users to paste files to upload directly without having to open a file explorer.
    E.g. I make a screenshot, save it to my clipboard and then wanna paste it in the reflex app

Specifics (please complete the following information):

  • Do you have a specific react package in mind? (Optional): No

Additional context
The idea comes from the functionality on ChatGPT UI, where images can be pasted in to be used for Vision LLMs.

@wassafshahzad
Copy link
Contributor

Please assign this to me

This was referenced Apr 11, 2024
@Lendemor Lendemor added feature request A feature you wanted added to reflex and removed custom component request labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature you wanted added to reflex
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants