From 6b6002baae58ad5fb95f1d4440c1b4f8623c0dc7 Mon Sep 17 00:00:00 2001 From: Sakito Mukai Date: Mon, 7 Jun 2021 17:32:30 +0900 Subject: [PATCH] refactor: Delete React SyntheticEvent persist (#3700) --- src/components/App.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index 600e6d790..13386e6f3 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -2233,8 +2233,6 @@ class App extends React.Component { private handleCanvasPointerDown = ( event: React.PointerEvent, ) => { - event.persist(); - // remove any active selection when we start to interact with canvas // (mainly, we care about removing selection outside the component which // would prevent our copy handling otherwise)