Skip to content

v0.26.x: Initial admin signup page becomes unresponsive due to repeated startViewTransition() calls (first-run only) #5626

@wen-hsiu-hsu

Description

@wen-hsiu-hsu

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

  1. Deploy Memos via Docker Compose with a fresh empty data volume (no existing admin/user) using the config below.

  2. Open http://<host>:5230/ and you will be in the initial signup flow to create the first admin account.

  3. 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,
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions