-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
After upgrading to v0.26.x, the initial setup / signup page (when the instance has no existing admin/user yet) becomes completely unresponsive: the UI cannot be clicked/typed into, and DevTools Elements shows view-transition related nodes being continuously recreated.
Tracing indicates document.startViewTransition() is being called repeatedly from the Memos frontend bundle, causing the page to effectively freeze. The issue does not occur on v0.25.0, and disabling document.startViewTransition immediately restores interactivity. (startViewTransition() is the View Transition API entry point.)
Steps to Reproduce
-
Deploy Memos via Docker Compose with a fresh empty data volume (no existing admin/user) using the config below.
-
Open
http://<host>:5230/and you will be in the initial signup flow to create the first admin account. -
The signup page becomes unresponsive (cannot click inputs/buttons).
Expected Behavior
On first-time setup (no admin/user exists), the signup page should remain fully interactive and should not trigger an infinite / repeated view transition loop.
Screenshots & Additional Context
Only happens when no admin exists yet (fresh volume / initial onboarding). After creating the admin (using the workaround), normal usage is OK.
I tried the following steps, then everything went normal.
Open DevTools Console and run:
Object.defineProperty(document, "startViewTransition", {
value: undefined,
configurable: true,
});