mirror of https://github.com/vector-im/riot-web
Prevent TagTiles from being dragged into other droppables
for the time being at least.pull/21833/head
parent
701abb6a21
commit
73e3a594ac
|
@ -95,7 +95,10 @@ const TagPanel = React.createClass({
|
|||
/>;
|
||||
});
|
||||
return <div className="mx_TagPanel">
|
||||
<Droppable droppableId="tag-panel-droppable">
|
||||
<Droppable
|
||||
droppableId="tag-panel-droppable"
|
||||
type="draggable-TagTile"
|
||||
>
|
||||
{ (provided, snapshot) => (
|
||||
<div
|
||||
className="mx_TagPanel_tagTileContainer"
|
||||
|
|
|
@ -25,6 +25,7 @@ export default function DNDTagTile(props) {
|
|||
key={props.tag}
|
||||
draggableId={props.tag}
|
||||
index={props.index}
|
||||
type="draggable-TagTile"
|
||||
>
|
||||
{ (provided, snapshot) => (
|
||||
<div>
|
||||
|
|
Loading…
Reference in New Issue