Skip to content

Commit

Permalink
Fixes #83287
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 committed Nov 5, 2019
1 parent 7ab195a commit 4efa950
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/workbench/browser/web.main.ts
Expand Up @@ -100,6 +100,9 @@ class BrowserMain extends Disposable {
// Prevent native context menus in web
this._register(addDisposableListener(this.domElement, EventType.CONTEXT_MENU, (e) => EventHelper.stop(e, true)));

// Prevent default navigation on drop
this._register(addDisposableListener(this.domElement, EventType.DROP, (e) => EventHelper.stop(e, true)));

// Workbench Lifecycle
this._register(workbench.onBeforeShutdown(event => {
if (storageService.hasPendingUpdate) {
Expand Down

0 comments on commit 4efa950

Please sign in to comment.