-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Pre-submission Checklist
- I have searched the existing issues and this bug has not been reported yet
- I have tested this issue on the demo site or the latest version
Where did you encounter this bug?
Latest stable version (self-hosted)
Memos Version
v0.26.1
Bug Description
[on mobile, PWA with chrome]
It has been multiple times that I lost the content that I add to my memos by editing it and then multitasking to another app to copy something and then coming back to memos and I find a blank page (no memos). I need to refresh to see my memos and then while editing back the same one, my unsaved changes have been lost.
This is really annoying. I don't want to same my memo each time I multitask between different apps.
I don't know if my explanations are clear. I can provide a video clip to show you what is going wrong.
Steps to Reproduce
- Install memos as a PWA on android with chrome
- Login and create a new memo. Save it.
- Edit this newly created memo by clicking on the
3 dotsthenEdit - Add new things to the memo
- Multitask to another application without saving the modifications then come back to memos
- You should see an empty screen (no memos) (it does not always happen, maybe after few minutes editing the same memo)
- Refresh the page to have the memos back
- Edit the previously edited memos
- Your unsaved changes should not be present...
Expected Behavior
I expected either a non-black screen were I can continue to edit my memo OR the unsaved content of my edit to by cached to be able to persist after a refresh.
Screenshots & Additional Context
- OS: Android 16
- Phone: Pixel 8
- Browser: Chrome (memos installed as PWA)
- Authentication: SSO - PocketID
- Deployment: docker-compose
- Network: is behind a nginx reverse-proxy
docker-compose.yml
services:
memos:
image: docker.io/neosmemo/memos:0.26.1
container_name: memos
restart: always
depends_on:
- db
ports:
- 5230:5230
environment:
- MEMOS_DRIVER=postgres
- MEMOS_DSN=user=xxx password=xxx dbname=memosdb host=db sslmode=disable
db:
image: docker.io/postgres:18.2
container_name: memos_db
restart: unless-stopped
networks:
- memos
volumes:
- memos-db-data:/var/lib/postgresql/
environment:
POSTGRES_USER: xxx
POSTGRES_PASSWORD: xxx
POSTGRES_DB: memosdb
volumes:
memos-db-data: