mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(token): drag and dropping a token no longer shows the plus sign. fixes T3390.
Test Plan: tested manually. all tests remain green. Reviewers: bengotow Maniphest Tasks: T3390 Differential Revision: https://phab.nylas.com/D1988
This commit is contained in:
parent
926f3656d2
commit
eba0f22f1b
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,8 @@ class Token extends React.Component
|
|||
json = Utils.serializeRegisteredObjects(@props.item)
|
||||
event.dataTransfer.setData('nylas-token-item', json)
|
||||
event.dataTransfer.setData('text/plain', @props.item.toString())
|
||||
event.dataTransfer.dropEffect = "move"
|
||||
event.dataTransfer.effectAllowed = "move"
|
||||
@setState(dragging: true)
|
||||
|
||||
_onDragEnd: (event) =>
|
||||
|
|
Loading…
Reference in a new issue