Skip to content

Bug - docs framework - example code editors close when scrolling to the top of the page #5042

Description

@mcoker

If you open a component example page, expand the code editor for an example, then scroll back to the top of the page, the code editor closes.

I wonder if it has to do with the sticky/stuck stuff added in https://github.com/patternfly/patternfly-org/blob/main/packages/documentation-framework/hooks/useIsStuck.js as it's a new issue, and I'm not seeing it in the react workspace, which hasn't pulled in the change that implements useIsStuck


Jira Issue: PF-4356

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions