tldraw / tldraw-v1

A tiny little drawing app. This is the original 2021-2022 version, released under MIT.
https://old.tldraw.com
MIT License
61 stars 36 forks source link

[bug] Current page is not persisted on navigation #94

Closed mcintyre94 closed 8 months ago

mcintyre94 commented 1 year ago

When you navigate away from the app and then back (eg browser back - forward), the canvas is persisted but it doesn't remember which page you were on. It opens the first page. This sometimes trips me up when I use multiple similar pages to show a multi-step process. I'll sometimes edit something incorrectly on the first page before I realise that I'm not on the last page I edited. I think it'd be better to persist the current page and re-open it when I navigate back to the app.

Screenshot 2022-10-11 at 12 12 10

For example here if I navigate away from the app while on the add-missing-edge page, it reopens on the start-broken-circuit one.

judicaelandria commented 1 year ago

should be fixed in this pr https://github.com/tldraw/tldraw/pull/857