fix: fix AddList component behaving weirdly when a Task Group was moved
This commit is contained in:
parent
c2a0f5e5d0
commit
4b83ff594f
@ -4,8 +4,6 @@ export const Container = styled.div`
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow-x: auto;
|
|
||||||
overflow-y: hidden;
|
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
height: 10px;
|
height: 10px;
|
||||||
|
@ -391,16 +391,16 @@ const SimpleLists: React.FC<SimpleProps> = ({
|
|||||||
</Draggable>
|
</Draggable>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
<AddList
|
|
||||||
onSave={listName => {
|
|
||||||
onCreateTaskGroup(listName);
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
{provided.placeholder}
|
{provided.placeholder}
|
||||||
</Container>
|
</Container>
|
||||||
)}
|
)}
|
||||||
</Droppable>
|
</Droppable>
|
||||||
</DragDropContext>
|
</DragDropContext>
|
||||||
|
<AddList
|
||||||
|
onSave={listName => {
|
||||||
|
onCreateTaskGroup(listName);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</BoardWrapper>
|
</BoardWrapper>
|
||||||
</BoardContainer>
|
</BoardContainer>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user