Fix: Ctrl + C not working on tooltips
This commit is contained in:
parent
37bf11f6a2
commit
363ea8895e
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ export default function Page({
|
|||
}
|
||||
|
||||
function handleCopy(e: KeyboardEvent) {
|
||||
if (!isWrappedWithClass(e, "nocopy")) {
|
||||
if (!isWrappedWithClass(e, "nocopy") && isWrappedWithClass(e, "react-flow__node")) {
|
||||
e.preventDefault();
|
||||
(e as unknown as Event).stopImmediatePropagation();
|
||||
if (window.getSelection()?.toString().length === 0 && lastSelection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue