Skip to content

lazyRender do not render on first open #246

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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