Skip to content

Uncaught Invariant Violation: Unable to find node on an unmounted component error occurred in the <Transition> component #16273

Closed
@nimahkh

Description

@nimahkh

i have a Drawer with default open props. when i do props.history.push('/login') , get this error

Uncaught Invariant Violation: Unable to find node on an unmounted component.
The above error occurred in the <Transition> component:
    in Transition (created by Slide)
    in EventListener (created by Slide)
    in Slide (created by WithTheme(Slide))
    in WithTheme(Slide) (created by Drawer)
    in div (created by Drawer)
    in Drawer (created by WithStyles(Drawer))
    in WithStyles(Drawer) (at AppBar/index.js:522)
    in div (at AppBar/index.js:455)
    in Index (created by WithStyles(Index))
    in WithStyles(Index) (at App.js:98)
    in Router (at App.js:95)
    in Suspense (at App.js:94)
    in MuiThemeProviderOld (at App.js:93)
    in BalanceStateProvider (at App.js:92)
    in LoginStateProvider (at App.js:91)
    in DrawerStateProvider (at App.js:90)
    in App (at src/index.js:31)
    in StateProvider (at src/index.js:30)
    in Router (created by BrowserRouter)
    in BrowserRouter (at src/index.js:29)
  • I have searched the issues of this repository and believe that this is not a duplicate.
Tech Version
Material-UI v3.?.?
React 16.8
Browser chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something doesn't workcomponent: drawerThis is the name of the generic UI component, not the React module!external dependencyBlocked by external dependency, we can’t do anything about it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions