Skip to content

[2.x] Discussion Load Animation #4334

@GreXXL

Description

@GreXXL

Current Behavior

Reported issue on discuss: https://discuss.flarum.org/d/38590-page-load-animation/

Flarum v1:

Bildschirmaufnahme.2026-01-04.um.10.01.35.mov

Flarum v2:

Bildschirmaufnahme.2026-01-04.um.10.02.08.mov

Steps to Reproduce

Discussion without replies on page-load does not have the pop-in animation.
Working on subsequent replies to the discussion in Flarum v2.

Expected Behavior

Pop-In Animation also on the first post of a discussion

Screenshots

No response

Environment

  • Flarum version: 2.0.0-beta.5

Output of php flarum info

Output of "php flarum info", run this in terminal in your Flarum directory.

Possible Solution

No response

Additional Context

Comment from @dsevillamartin: Looks like v1 uses the app data from page load (provided by backend) while v2 makes an API request to /api/posts to load the discussion also the fact that the domain with the 2 is v1 threw me for a loop. I think that's actually kind of related to the problem above. My immediate guess is the logic for detecting whether we just loaded into it (whether from discussion list or direct link/refresh) had to be changed due to lazy loading the discussion page. Pop in is supposed to happen to the "active" post only, while the rest fade in iirc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions