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

EuiCodeBlock does not update the value in to copy to clipboard #3321

Closed
sebelga opened this issue Apr 15, 2020 · 0 comments · Fixed by #3351
Closed

EuiCodeBlock does not update the value in to copy to clipboard #3321

sebelga opened this issue Apr 15, 2020 · 0 comments · Fixed by #3351

Comments

@sebelga
Copy link
Contributor

sebelga commented Apr 15, 2020

The <EuiCodeBlock> does not seem to update the value to copy when the content changes. So when the request changes below

<EuiCodeBlock language="json" isCopyable>
  {request}
</EuiCodeBlock>

The value copied to the clipboard does not update.

I had to use the following hack to make it work: alisonelizabeth/kibana@1ba2c6b

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

Successfully merging a pull request may close this issue.

3 participants