-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Does the copy button not work? #457
Comments
Works for me. Do you have steps to reproduce? |
I see. We should render the copy button after the text has finished streaming. |
I've been using the project for several days, I can try to make a PR for this fix. I would be happy to contribute @dornfeld-capital |
@kornatskyi That would be great. |
When I use an SSL certificate to access my website, everything works fine. |
I've been looking into this issue, and it seems like it has two parts to it. First is what @dee1024 mentioned. And another is that you can't copy code because So copy button works intermittently, if there are enough time between re-rendering, you can copy more easily when GPT4 responding, because it prints tokens slower. Also each update resets selection, so it's hard to select and copy when code is still rendering |
How to fix the problem? |
Even though this is closed, here's a working solution for anyone who stumbles on this in the future.... Replace the copyToCliboard method with the following in CodeBlock.tsx:
|
This is very interesting, please let me know. What is WebServer with SSL, |
When I click the copy button or copy the code, it doesn't work.
The text was updated successfully, but these errors were encountered: