mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-22 15:18:06 +00:00
Long press to drag
This commit is contained in:
parent
590b4a3fdd
commit
167a330b06
@ -123,7 +123,7 @@ class PollOptions extends Component {
|
||||
<Typography variant="headline">Create a Poll</Typography>
|
||||
<Typography variant="body1" style={{marginTop: '20px'}}>Add options to the poll</Typography>
|
||||
<a onClick={this.handleClickOpen} className="addOption"><img src="images/plus-button.svg" width="40" />Add option</a>
|
||||
<SortableList lockAxis={"y"} distance={10} items={this.state.options} editOption={this.editOption} removeOption={this.removeOption} onSortEnd={this.onSortEnd} />
|
||||
<SortableList lockAxis={"y"} pressDelay={200} items={this.state.options} editOption={this.editOption} removeOption={this.removeOption} onSortEnd={this.onSortEnd} />
|
||||
|
||||
</div>
|
||||
<div className="buttonNav">
|
||||
|
Loading…
x
Reference in New Issue
Block a user