Manual text selection in Copilot Web UI removes newline characters #182296
Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
i have the same issue, its very time consuming to rectify the code where we are pasting it. please resolve |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Copilot Feature Area
General
Body
Bug: Manual text selection in Copilot Web UI removes newline characters.
Environment:
Steps to reproduce:
Expected behavior:
Newlines should be preserved exactly as displayed in the code block.
Actual behavior:
All newline characters are removed. The pasted text becomes a single line regardless of how it appears in the UI.
Impact:
Notes:
The “Copy” button preserves formatting correctly; the issue affects only manual selection.
DOM inspection shows animation-related attributes (e.g.,
variants="[object Object]") being rendered on non-motion elements, which may indicate props leaking into the DOM and interfering with text selection behavior.Copilot itself instructed me to post here, even though the category does not seem to fit. Here is what it said:
Beta Was this translation helpful? Give feedback.
All reactions