Minor tweaks to draggable behavior

This commit is contained in:
Rainer Simon 2021-08-16 10:25:54 +02:00
parent 56ca3a74d8
commit f623f9b1a5
1 changed files with 1 additions and 1 deletions

View File

@ -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'}>