Skip to content

Commit

Permalink
Fixes #83287 (#83962)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 authored and bpasero committed Nov 5, 2019
1 parent 0ea854b commit 5d3c599
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/workbench/browser/web.main.ts
Original file line number Diff line number Diff line change
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 5d3c599

Please sign in to comment.