mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Draggables were disappearing
I forgot to wrap the state changing in a setState. Oops.
This commit is contained in:
parent
57e1d2e21a
commit
334fcbbf44
@ -199,7 +199,9 @@ class _DraggableState<T> extends State<DraggableBase<T>> {
|
||||
feedback: config.feedback,
|
||||
feedbackOffset: config.feedbackOffset,
|
||||
onDragEnd: () {
|
||||
_activeCount -= 1;
|
||||
setState(() {
|
||||
_activeCount -= 1;
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user