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.
I'm using materialize CSS with ReactJs. I just noticed that when I call destroy method in
componentWillUnmountlifecycle method,overflow: hiddenis 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.