Skip to content

Blazor fixes #13377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 23, 2019
Merged

Blazor fixes #13377

merged 5 commits into from
Aug 23, 2019

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
@@ -77,11 +77,13 @@ export class DefaultReconnectDisplay implements ReconnectDisplay {
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.

4 participants