Skip to content

Commit

Permalink
fix(web/App): block dragstart event
Browse files Browse the repository at this point in the history
Workaround for CEF hang reported in #1314.
  • Loading branch information
thelindat committed Oct 14, 2023
1 parent 103b1c6 commit e975626
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,8 @@ const App: React.FC = () => {
);
};

addEventListener("dragstart", function(event) {
event.preventDefault()
})

export default App;

0 comments on commit e975626

Please sign in to comment.