Skip to content

Commit

Permalink
Add handler for draggable dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
konekoya committed Jan 21, 2020
1 parent 2082679 commit 8c745d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/components/dialogs/DraggableDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Draggable from 'react-draggable';

function PaperComponent(props) {
return (
<Draggable cancel={'[class*="MuiDialogContent-root"]'}>
<Draggable handle="#draggable-dialog-title" cancel={'[class*="MuiDialogContent-root"]'}>
<Paper {...props} />
</Draggable>
);
Expand Down

0 comments on commit 8c745d8

Please sign in to comment.