Bug
Click on input inside Draggable element make the input focused.
Click on input element is ignored, but I can still focus the input with rightclick or tab button.
See the demo with Basic usage example.
Chrome Version 61.0.3163.91 (Official Build) (64-bit)
Hey @asstet, you just need to stop propagation of mousedown events from the input 🙂 Here's an updated fork of your demo with this working correctly: https://www.webpackbin.com/bins/-KuabtumPW4RKbXlc5Ak
Here's the specific change you'll want to make:
<input
defaultValue={item.content}
onMouseDown={e => e.stopPropagation()}
/>
Related to: #61 (similiar issue raised and solution offered)
Could be worth adding a note about this in the docs at some point
I had the same issue, and stopping propagation allowed me to focus my inputs, however, you still cannot cause the input to blur by clicking anywhere within the draggable while the input has focus. Any thoughts?
Most helpful comment
Hey @asstet, you just need to stop propagation of mousedown events from the input 🙂 Here's an updated fork of your demo with this working correctly: https://www.webpackbin.com/bins/-KuabtumPW4RKbXlc5Ak
Here's the specific change you'll want to make: