We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d8889c commit 31af015Copy full SHA for 31af015
UI/ChatSignalR/UnoChat.Client/UnoChat.Shared/ViewModel.cs
@@ -218,7 +218,10 @@ private IDisposable ShouldSendModelsAddedToAllMessagesToMessageObserver(IObserve
218
.Where(args => args.Action == NotifyCollectionChangedAction.Add)
219
.Select(args => args.NewItems.OfType<Message.Model>().FirstOrDefault())
220
.Where(model => model != null)
221
+
222
+#if !__WASM__
223
.Delay(TimeSpan.FromMilliseconds(10), Schedulers.Default) // Wait for the list view to have been updated
224
+#endif
225
.ObserveOn(Schedulers.Dispatcher)
226
.Subscribe(messageObserver);
227
#else
0 commit comments