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

having issue with background clip in textarea #50

Closed
geminigeek opened this issue Sep 15, 2023 · 3 comments · Fixed by #130
Closed

having issue with background clip in textarea #50

geminigeek opened this issue Sep 15, 2023 · 3 comments · Fixed by #130

Comments

@geminigeek
Copy link

Steps To Reproduce

here is a reproduction link
[https://stackblitz.com/edit/vitejs-vite-jm8yya?file=src%2FApp.vue]https://stackblitz.com/edit/vitejs-vite-jm8yya?file=src%2FApp.vue

if i download an image for div with same styles its works fine , if i download image for textarea it shows double text

@mariodukoskiinfinum
Copy link

mariodukoskiinfinum commented Feb 6, 2024

@geminigeek experiencing the same issue any updates?

cc: @qq15725

@SeoSang
Copy link

SeoSang commented Apr 30, 2024

@mariodukoskiinfinum

I'm experiencing the same issue. Is there a good solution available?

@mariodukoskiinfinum
Copy link

Hey! @SeoSang I've found a workaround, Instead of using a textarea, I've used a div with the contentEditable attribute set to true. This div behaves like a textarea but doesn't have the double text issue when downloading the image. I hope this helps with your use case!

jmerle added a commit to jmerle/modern-screenshot that referenced this issue Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants