forked from firka/flutter
Draggables were disappearing
I forgot to wrap the state changing in a setState. Oops.
This commit is contained in:
@@ -199,7 +199,9 @@ class _DraggableState<T> extends State<DraggableBase<T>> {
|
||||
feedback: config.feedback,
|
||||
feedbackOffset: config.feedbackOffset,
|
||||
onDragEnd: () {
|
||||
_activeCount -= 1;
|
||||
setState(() {
|
||||
_activeCount -= 1;
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user