Skip to content

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 brave#10103
  • Loading branch information
cezaraugusto authored and syuan100 committed Nov 9, 2017
1 parent b25c3eb commit a0c4284
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 a0c4284

Please sign in to comment.