Skip to content

Commit

Permalink
Minor tweaks to draggable behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Aug 16, 2021
1 parent 56ca3a7 commit f623f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export default class Editor extends Component {
return (
<Draggable
disabled={!this.props.detachable}
cancel=".r6o-btn, .r6o-nodrag"
cancel=".r6o-btn, .r6o-nodrag, input, textarea"
onDrag={() => this.setState({ dragged: true })}>

<div ref={this.element} className={this.state.dragged ? 'r6o-editor dragged' : 'r6o-editor'}>
Expand Down

0 comments on commit f623f9b

Please sign in to comment.