tokens-studio / figma-plugin

Official repository of the plugin 'Tokens Studio for Figma' (Figma Tokens)
https://www.figma.com/community/plugin/843461159747178978
MIT License
1.35k stars 194 forks source link

React DnD not working in BoxShadow Input #2832

Closed LukeFinch closed 3 months ago

LukeFinch commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

When trying to rearrange the shadow order in a box-shadow token, the Drag-n-Drop handles not behaving as expected. This was likely introduced when upgrading to React18 - there's a TODO item to check the logic.

To Reproduce Steps to reproduce the behavior:

  1. Create a box shadow token
  2. Add another shadow
  3. Use the drag handle 'click to drag'
  4. Rearranging does not happen

Expected behavior A clear and concise description of what you expected to happen. When dragging shadows around - they should rearrange

Screenshots or Screencasts If applicable, add screenshots to help explain your problem.

Figma file (optional) Send us the link to a Figma file containing a reproducible example

JSON (optional) If possible, attach the JSON that leads to this bug.

akshay-gupta7 commented 3 months ago

Unable to reproduce this. Working as expected CC: @keeganedwin