Skip to content

Conversation

@SteveSandersonMS
Copy link
Member

@SteveSandersonMS SteveSandersonMS commented Aug 23, 2019

Contains fixes for #13331, #13370, #13371, #13374, and #13375, all of which are regressions in preview 9.

Each of the commits in this PR could be used independently to fix particular issues if needed.

Let's discuss in triage today whether this is realistic to include in preview 9 or 3.0.

@SteveSandersonMS SteveSandersonMS added the area-blazor Includes: Blazor, Razor Components label Aug 23, 2019
@SteveSandersonMS SteveSandersonMS added this to the 3.0.0-preview9 milestone Aug 23, 2019
this.button.style.display = 'block';
this.reloadParagraph.style.display = 'none';
this.message.innerHTML = 'Reconnection failed. Try <a href>reloading</a> the page if you\'re unable to reconnect.';
this.message.querySelector('a')!.addEventListener('click', () => location.reload());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also add e.preventDefault().
Because location.reload() also keeps the url fragment # whereas just the href does not.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to keep the whole URL. The href is not involved because normal navigation can't occur while disconnected.

@dougbu dougbu merged commit b16a26d into release/3.0-preview9 Aug 23, 2019
@ghost ghost deleted the stevesa/blazor-fixes branch August 23, 2019 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants