We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Using the dragClass to apply a custom backgroud color on dragging list element, but has no effect.
To Reproduce Steps to reproduce the behavior:
Expected behavior The custom color should be applied as background color to the dragged element.
Information react-sortable = ^6.1.4 react = ^18.3.1
Additional context Some code
return ( <List component="nav" aria-labelledby="institutes" subheader={ <ListSubheader component="h1" id="institutes"> "selectSource" </ListSubheader> }> <ReactSortable list={sources} setList={setSources} dragClass="dragging"> {sources.map(({ id, name }) => ( <ListItemButton key={id} sx={{ cursor: "grab", }}> <ListItemIcon> <DragIndicatorIcon /> </ListItemIcon> <ListItemText primary={name} /> </ListItemButton> )} </ReactSortable> </List> );
.dragging{ background-color: #21ce21; color: #fff; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Using the dragClass to apply a custom backgroud color on dragging list element, but has no effect.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The custom color should be applied as background color to the dragged element.
Information
react-sortable = ^6.1.4
react = ^18.3.1
Additional context
Some code
The text was updated successfully, but these errors were encountered: