Skip to content

Commit

Permalink
fix firefox strange behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
EstherPerelman authored and colin-grant-work committed Oct 6, 2021
1 parent 047b7f4 commit 6825c60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/browser/view-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,7 @@ export class ViewContainer extends BaseWidget implements StatefulWidget, Applica
return new DisposableCollection(
addEventListener(part.headerElement, 'dragstart',
event => {
event.preventDefault();
const mimeData = new MimeData();
mimeData.setData('application/vnd.phosphor.view-container-factory', () => part);
const clonedHeader = part.headerElement.cloneNode(true) as HTMLElement;
Expand Down

0 comments on commit 6825c60

Please sign in to comment.