We have been blessed with the new reconnection dialog which auto-refreshes the page when the connection is lost (nice). However, I am encountering a slight problem where if you leave the page for a split second (on mobile), when you re-enter the page, it shows the dialog reconnecting for like 5-10 seconds before it reconnects.
I am wondering if there is a work around for this, ideally it would reconnect as soon as the tab is re-entered so the dialog is remove quickly, improving the users experience.
If anyone has any suggestions, let me know!
I've tried creating a custom boot.js which doesn't seem to do anything.
I've also tried adding:
<script> Blazor.start({ circuit: { reconnectionOptions: { retryIntervalMilliseconds: Array.prototype.at.bind([0, 100, 500, 1000, 1000, 2000, 2000, 2000]), }, }, });</script>which also doesn't seem to do anything.