| Index: samples/swarm/Views.dart
|
| diff --git a/samples/swarm/Views.dart b/samples/swarm/Views.dart
|
| index 89f6f1dbce8878f6523a7b05e97571c4b87b63be..d92312b020433581cba4495620f9e8d7c2905aa8 100644
|
| --- a/samples/swarm/Views.dart
|
| +++ b/samples/swarm/Views.dart
|
| @@ -289,7 +289,7 @@ class GenericListView<D> extends View {
|
|
|
| void onResize() {
|
| int lastViewLength = _viewLength;
|
| - scheduleMicrotask(() {
|
| + window.setImmediate(() {
|
| _viewLength = _vertical ? node.offset.height : node.offset.width;
|
| if (_viewLength != lastViewLength) {
|
| if (_scrollbar != null) {
|
|
|