From c54c7091ca398c8f3d4258410894aa8bb880a69c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Fri, 27 Dec 2019 14:30:15 +0100 Subject: [PATCH] docs(website): fix copy paste Closes #372 --- website/src/components/playground/Playground.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/src/components/playground/Playground.js b/website/src/components/playground/Playground.js index 09614262..efb80b6b 100644 --- a/website/src/components/playground/Playground.js +++ b/website/src/components/playground/Playground.js @@ -324,7 +324,9 @@ export function Playground() { onKeyDown={event => { // Detect copy if ((event.metaKey || event.ctrlKey) && event.key === 'c') { - dialog.show() + setTimeout(() => { + dialog.show() + }, 50) } }} >