Skip to content

Scrollbar children not displayed when component in sub-route  #421

@wellgordon

Description

@wellgordon

Hi,

When the Scrollbar component is rendered within a component that is in a sub route of react-router, the children of the Scrollbar are not displayed on the screen. For example:

App:

....

ParentComponent:

const {path} = useRouteMatch()

...

ChildComponent:

// the
    is not displayed on the screen, although I can see the elements accurately represented in Inspect in Chrome
    • Hello world
    • ....

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