Skip to content

lazyRender do not render on first open #246

@evelikov

Description

@evelikov

Describe the bug

Whenever a non-open collapsible is annotated as lazyRender, rendering will not happen the first time it's being opened.

To Reproduce

  • Go to Arch reproducible website https://reproducible.archlinux.org/
  • Click on any "good" entry
  • Transition animation kicks in
  • The elements are never rendered - ... ok by "never" I've waited only 10 minutes ;-)
  • Click to close - transition kicks in and elements get rendered... wait what?
  • Click on the same collapsible element - elements are rendered

Expected behavior

  • Elements are rendered as the collapsible is opened

Additional context

As the footer of the website says - the code is available at https://gitlab.archlinux.org/archlinux/rebuilderd-website. With the interesting parts in here https://gitlab.archlinux.org/archlinux/rebuilderd-website/-/blob/master/src/Section.js.

While the website uses v2.8.1, the issue also happens with v2.8.4 and v2.9.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions