CloseOnClick property in sideNav should only be applicable in small screen when menu is usually hidden.
Consider the following html

Here I have specified 'fixed' style which keeps the sideNav fixed for larger screens and it hides the sideNav for smaller screens. This works as expected. However, issues is that I want the sideNav to close upon clicking a menu option and hence I am also doing this in code.

My expectation is that closeOnClick: true is only applicale to the small screen, where menu is usually hidden by default. I don't want the menu to close upon click in larger screens (since I have used "fixed" style). Therefore the logic in materialize-css javaScripts should be fixed to use closeOnClick: true will not affect the "fixed" behavior.
Due to its current behaviour in larger (non mobile) screens where hamburger icon is not visible, the closing of the menu means there is no way that user can get back to the menu again.
I agree with that. It would be really good if closeOnClick only closed a fixed menu if it's displayed on a small screen.
Related issue
fixed sidenav with closeOnClick enabled #1426
+1
This is resolved in this PR. Would be nice to see it merged:
https://github.com/Dogfalo/materialize/pull/945
would like to see this fix as well. Makes no sense the way it is right now.
+1
Duplicate of https://github.com/Dogfalo/materialize/issues/1426