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

Post changes disappears when clicking away from the post editor #107

Closed
patrickhladun opened this issue Nov 8, 2022 · 1 comment
Closed

Comments

@patrickhladun
Copy link
Contributor

Context

When editing a post or content user might lose the changes if not saved.

Expected Behavior

The user should be able to click away from the browser and not lose the changes to the post.

Current Behavior

When the post is edited and the user clicks away from the browser or changes the browser tab and then navigates back to the post editor all the content that was not saved disappears.

Screenshots

2022-11-08 11 36 15

Steps to reproduce

  1. Open the post
  2. Start making changes
  3. Click away from the browser or a different tab in the browser
  4. Click back on the browser tab with the post editor
  5. The new unsaved changes will disappear
@patrickhladun patrickhladun changed the title Losing post changes when click away from the post editor Post changes disappears when clicking away from the post editor Nov 8, 2022
@NiallJoeMaher
Copy link
Contributor

This was fixed by disabling refetch on the Query.

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

No branches or pull requests

2 participants