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

Bug -ClipboardCopy - Regression in 5.2.0 prerelease #9962

Closed
jschuler opened this issue Jan 11, 2024 · 2 comments · Fixed by #9975 or #10015
Closed

Bug -ClipboardCopy - Regression in 5.2.0 prerelease #9962

jschuler opened this issue Jan 11, 2024 · 2 comments · Fixed by #9975 or #10015
Assignees

Comments

@jschuler
Copy link
Collaborator

jschuler commented Jan 11, 2024

Describe the problem
While the ClipboardCopy is expanded, any changes to its content made are not reflected in the main section (and copy action)

How do you reproduce the problem?
https://codesandbox.io/p/sandbox/epic-danilo-t9lft3?file=%2Findex.tsx%3A17%2C7

Expected behavior
While the component is expanded, I would expect changes made to its content to reflect both in the expanded as well as the main portion of the component.

Is this issue blocking you?
No, we can make our component not expandable for the time being as a workaround

What is your environment?

  • OS: MacOS
  • Browser Saw both in FF and Chrome

What is your product and what release date are you targeting?
OCM: Now

Any other information?
It's cold today

@jschuler jschuler added the bug label Jan 11, 2024
@tlabaj
Copy link
Contributor

tlabaj commented Jan 15, 2024

@jschuler I only see this happening when the clipboard copy is read only. I do not think the main content is intended to be editable whenisReadOnly is set.
@andrew-ronaldson do you know what the intended behavior is when the clipboard copy isReadOnly?

@tlabaj
Copy link
Contributor

tlabaj commented Jan 16, 2024

I put up a PR so it behaves as it did before and does not break your use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment