Skip to content

Allow initial render of pfe-collapse-panel with an open state #1064

@karangarg45

Description

@karangarg45

Description of the requested feature

Currently there is no way to initialize the pfe-collapse-panel inside pfe-collapse with the initial expand/collapse property. If you try to set pfe-expanded on the pfe-panel, still the component will always open in collapse mode. My guess is this is because of the logic written here
https://github.com/patternfly/patternfly-elements/blob/master/elements/pfe-collapse/src/pfe-collapse.js#L237

Impacted component(s)

  • pfe-collapse

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions