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

Unsaved post cleared after screen went to sleep #29

Open
alexpunct opened this issue Sep 20, 2023 · 0 comments
Open

Unsaved post cleared after screen went to sleep #29

alexpunct opened this issue Sep 20, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@alexpunct
Copy link
Owner

Steps to reproduce:

  • start writing a post and don't save it
  • let the computer screen go to sleep
  • open the computer again

Result:

  • the post is cleared (probably the state is refreshed)

Desired outcome:

  • The post should stay in the text area

One potential way to achieve this would be to save the content as it's typed in the browser local storage (or the svelte store)

@alexpunct alexpunct added bug Something isn't working good first issue Good for newcomers labels Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant