How I can ensure that my async method properly returns into main UI thread?
I’ve got a Razor Component running on Blazor WASM. It sends an asynchronous request to the IoT device to get data type of some node. If it isn’t the same as the stored one, I’ll ask the user to update data type in a pop-up window. I’m using BlazorBootstrap.ConfirmDialog for the popup. The issue I’m facing is that after making an async request to the device, a ConfirmDialog pops up with opacity: 0;
and if I manually remove it and click any button, I’m getting