+ 1

How to make draggable button in react

I want my button draggable so user can move it around. If i use react-draggable library it's can move around but, when i click the button it's do nothing, my question is how do i make button draggable and i still could click it.

19th Dec 2021, 4:29 AM
EsaKurniawan
1 Answer
+ 1
Step 1: Install npm package Step 2: Add a Draggable Component
19th Dec 2021, 10:53 PM
Neil Young