bevacqua / dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/dragula/
MIT License
22.05k stars 1.96k forks source link

Importing CSS breaks functionality #710

Open ptrnln opened 1 day ago

ptrnln commented 1 day ago

I'm using this in a React app for an audio player playlist menu. Without importing the CSS I can reorder the playlist just fine, only without any visual indicator besides the reordering, but as soon as I import the CSS it no longer works. Even if I comment out the entire file, the visual indicators remain but the behavior is still broken. The playlist is coming from my Redux state fyi, but if the state selection was blocking updates then I would think it would even without the CSS.

Please only use GitHub issues for bug reports and feature requests.

  • [ ] Read the contributing guidelines
  • [ ] Bug reports containing repro steps are likely to be fixed faster
  • [ ] Feature requests should be multi-purpose, describe use cases
  • [ ] For support requests or questions, please refer to our Slack channel
ptrnln commented 1 day ago

Disregard the part about commenting everything out, that was just because Vite doesn't track changes made within the node modules directory.