Skip to content

Headroom not working with Chakra UI #212

Closed

Description

@mayur5c

React-Headroom is not working as expected with Chakra UI. It does not hide unhide baseed on the scroll behaviour

Activity

  1. KyleAMathews commented on Nov 12, 2026

    @KyleAMathews
    Owner

    This usually means the page scrolls a container rather than the window (an infinite list, a dialog, a layout component). Pass that container as parent, for example parent={() => containerRef.current}. Since #215, a ref that is still empty during mount works, and the listeners follow a parent that changes. Closing as part of the backlog cleanup; please reopen with a reproduction if it still fails on the next release.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions