Jump to content
Search Community

smerin

Members
  • Posts

    2
  • Joined

  • Last visited

smerin's Achievements

0

Reputation

  1. @OSUblake thank you so much for this, and for the extra reading - I'll check that out.
  2. I'm having problems accessing the current value of a property held in (React) state when an onDragEnd event fires. The Draggable instance is initiated on component mount and the value of the state property onDragEnd is fixed at whatever it was when the Draggable instance was created. Here is a simple (and very contrived) example of the issue: https://codesandbox.io/s/nifty-cori-d2pgt?file=/src/App.js Apologies if this is simply a React / plain javascript issue, but I though I would ask here first. Thanks!
×
×
  • Create New...