Skip to content

Sidenav should be closed when destroy is callled #5885

@marvinkome

Description

@marvinkome

I'm using materialize CSS with ReactJs. I just noticed that when I call destroy method in componentWillUnmount lifecycle method, overflow: hidden is still set in the body element. But calling close method actually removes it. So I think it should either be added to the docs that close method should be called before calling destroy or it should be called automatically when destroy is called.

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