File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,28 +30,28 @@ var App = React.createClass({
3030 < p >
3131 < a href = "https://github.com/mzabriskie/react-draggable/blob/master/example/main.js" > Demo Source</ a >
3232 </ p >
33- < Draggable >
33+ < Draggable zIndex = { 100 } >
3434 < div className = "box" > I can be dragged anywhere</ div >
3535 </ Draggable >
36- < Draggable axis = "x" >
36+ < Draggable axis = "x" zIndex = { 100 } >
3737 < div className = "box" > I can only be dragged horizonally</ div >
3838 </ Draggable >
39- < Draggable axis = "y" >
39+ < Draggable axis = "y" zIndex = { 100 } >
4040 < div className = "box" > I can only be dragged vertically</ div >
4141 </ Draggable >
42- < Draggable onDrag = { this . handleDrag } >
42+ < Draggable onDrag = { this . handleDrag } zIndex = { 100 } >
4343 < div className = "box" >
4444 < div > I track my position</ div >
4545 < div > top: { this . state . position . top } , left: { this . state . position . left } </ div >
4646 </ div >
4747 </ Draggable >
48- < Draggable handle = "strong" >
48+ < Draggable handle = "strong" zIndex = { 100 } >
4949 < div className = "box" >
5050 < strong > Drag here</ strong >
5151 < div > You must click my handle to drag me</ div >
5252 </ div >
5353 </ Draggable >
54- < Draggable cancel = "strong" >
54+ < Draggable cancel = "strong" zIndex = { 100 } >
5555 < div className = "box" >
5656 < strong > Can't drag here</ strong >
5757 < div > Dragging here works</ div >
You can’t perform that action at this time.
0 commit comments