Fix for inadvertent DND in list view
This commit is contained in:
parent
748f7738e6
commit
7ee45e76d0
1 changed files with 1 additions and 0 deletions
|
|
@ -2286,6 +2286,7 @@ impl Tab {
|
||||||
widget::column::with_children(children).padding([0, space_m]),
|
widget::column::with_children(children).padding([0, space_m]),
|
||||||
)
|
)
|
||||||
.with_id(Id::new("list-view"))
|
.with_id(Id::new("list-view"))
|
||||||
|
.on_press(|_| Message::Click(None))
|
||||||
.on_drag(Message::Drag)
|
.on_drag(Message::Drag)
|
||||||
.on_drag_end(|_| Message::DragEnd(None))
|
.on_drag_end(|_| Message::DragEnd(None))
|
||||||
.show_drag_rect(true)
|
.show_drag_rect(true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue