Skip to content
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

Do not remove existing title elements, assert instead #185

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

raido
Copy link
Contributor

@raido raido commented Oct 6, 2020

We no longer need to remove existing title elements, because we are setting document.title directly.

This effectively fixes also flicker issue mention in #184 and brings visibility of conflicting updates on dev time due to additional assertion.

Closes: #184

@raido raido force-pushed the slow-route-title-flicker-fix branch from c880828 to ffdf055 Compare October 6, 2020 11:51
@knownasilya knownasilya merged commit d4ea9bb into ember-cli:master Oct 6, 2020
@knownasilya
Copy link
Contributor

Nice!

@raido raido deleted the slow-route-title-flicker-fix branch October 14, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slow route model() hook on first visit with direct URL causes flicker
2 participants