react-custom-scrollbars icon indicating copy to clipboard operation
react-custom-scrollbars copied to clipboard

Scrollbar children not displayed when component in sub-route

Open wellgordon opened this issue 2 years ago • 0 comments

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
    • ....

wellgordon avatar Sep 16 '23 02:09 wellgordon