react-custom-scrollbars
react-custom-scrollbars copied to clipboard
Scrollbar children not displayed when component in sub-route
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:
- is not displayed on the screen, although I can see the elements accurately represented in Inspect in Chrome
- Hello world ....