azouaoui-med / react-pro-sidebar

React Pro Sidebar provides a set of components for creating high level and customizable side navigation

Home Page:https://azouaoui-med.github.io/react-pro-sidebar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sidebar menu briefly pops up when transitioning from collapsed state #2

ffendt opened this issue · comments

The issue from #36 still exists, but the temporary workaround does not longer work, since the classes have changed.

It would help, if at least an additional class would be provided depending on the openWhenCollapsed attribute (see SubMenu.tsx#L429). Then it would be possible to add a styling fix on our own.

The problem could maybe be fixed by using opacity: 0/1 instead of visibility (see SubMenuContent.tsx#L46) but as I'm not deep into CSS, I don't know what further implications this kind of change would have.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.