首页 > 解决方案 > Materialize CSS Fixed SideNav stay open when resize

问题描述

I am currently using Materialize CSS for sidenav-fixed on ReactJS. I realize that when the webpage is resized, the sidenav is automatically hidden. Is there any way to show the sidenav even when I resize the webpage?

This is what I'm working for the sidenav-fixed:

<ul id="slide-out" className="sidenav sidenav-fixed">
     <li><NavLink to='/dictionary/saved'>Saved Dictionary</NavLink></li>
     <li><NavLink to='/dictionary/dropfile'>Drop Dictionary File</NavLink></li>
     <li><NavLink to='/dictionary/form'>Dictionary Add Form</NavLink></li>
</ul>

标签: reactjsmaterializesidenav

解决方案


推荐阅读