Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
do not allow previews if tab is being dragged
Browse files Browse the repository at this point in the history
Auditors: @luixxiul
Fix #10103
  • Loading branch information
cezaraugusto committed Sep 21, 2017
1 parent 80af744 commit c3def82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/renderer/components/tabs/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ class Tab extends React.Component {
this.tabSentinel.style.width = 0

dnd.onDragStart(dragTypes.TAB, this.frame, e)
// cancel tab preview while dragging. see #10103
windowActions.setTabHoverState(this.props.frameKey, false, false)
}

onDrag () {
Expand Down

0 comments on commit c3def82

Please sign in to comment.