Skip to content

Commit d3e08fd

Browse files
committed
fix(issue1206): Need to use unsetZIndex=true in react-draggable-list
Fixes issue #1206 From the docs: unsetZIndex is an optional property that defaults to false. If set to true, then the z-index of all of the list items will be set to "auto" when the list isn't animating. This may have a small performance cost when the list starts and stops animating. Use this if you need to avoid having the list item create a stacking context when it's not being animated.
1 parent 5e91a1c commit d3e08fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/queue.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export default function Queue(props: ServerProps) {
122122
itemKey={generateItemKey}
123123
template={QueueListItem}
124124
list={userQueueItems}
125+
unsetZIndex={true}
125126
onMoveEnd={_onMoveEnd}
126127
container={() => listRef.current}
127128
commonProps={{ userInfo, isEditing }}

0 commit comments

Comments
 (0)