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

correctly update preview page #846

Merged
merged 1 commit into from Dec 4, 2020
Merged

correctly update preview page #846

merged 1 commit into from Dec 4, 2020

Conversation

yagebu
Copy link
Contributor

@yagebu yagebu commented Dec 3, 2020

This logic has always been a bit faulty and probably broke recently due
to us avoiding unnecessary re-renders. In addition to checking whether
the correct URL is loaded, we heed to check if the URL that we want to
load changed.

Fix #844

This logic has always been a bit faulty and probably broke recently due
to us avoiding unnecessary re-renders. In addition to checking whether
the correct URL is loaded, we heed to check if the URL that we want to
load changed.
@runfalk
Copy link
Member

runfalk commented Dec 4, 2020

Looks good to me.

@runfalk runfalk merged commit e33f799 into lektor:master Dec 4, 2020
@yagebu yagebu deleted the fix-844 branch December 6, 2020 12:29
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.

preview iframe does not properly track edit state
2 participants