SortableJS / react-sortablejs

React bindings for SortableJS
http://sortablejs.github.io/react-sortablejs/
MIT License
2.07k stars 211 forks source link

[bug] refreshing occurs React minify error #295

Open ZeroOnePro opened 2 weeks ago

ZeroOnePro commented 2 weeks ago

Describe the bug describe below information section

To Reproduce Steps to reproduce the behavior:

  1. Go to 'page on list located(not first deps page) and refresh(window.location.reload() or click browser refresh button) '
  2. Click on 'N/A'
  3. Scroll down to 'N/A'
  4. See error

Expected behavior non error after refresh

Information My app just contains landing, list pages.

After app launch and move to list page that is located React Sortable component then refresh in list page.

after refresh, try to move landing page to list page, occurs React minify error.

I think the setList attribute is a problem. Please let me know why this is happening

in my case list is props from App component

Versions - Look in your package.json for this information: react-sortable = ^6.1.14 react = ^18.2.0 vite = ^5.3.2

Additional context Add any other context about the problem here.

Please provide examples, screenshots or a code sandbox for faster resolution times.