fix: fix AddList component behaving weirdly when a Task Group was moved

This commit is contained in:
Jordan Knott 2021-01-05 18:58:13 -06:00
parent c2a0f5e5d0
commit 4b83ff594f
2 changed files with 5 additions and 7 deletions

View File

@ -4,8 +4,6 @@ export const Container = styled.div`
flex: 1;
user-select: none;
white-space: nowrap;
overflow-x: auto;
overflow-y: hidden;
::-webkit-scrollbar {
height: 10px;

View File

@ -391,16 +391,16 @@ const SimpleLists: React.FC<SimpleProps> = ({
</Draggable>
);
})}
<AddList
onSave={listName => {
onCreateTaskGroup(listName);
}}
/>
{provided.placeholder}
</Container>
)}
</Droppable>
</DragDropContext>
<AddList
onSave={listName => {
onCreateTaskGroup(listName);
}}
/>
</BoardWrapper>
</BoardContainer>
);