Postponed (maintainer needs more info)
Project:
Materialize – Google Material base theme
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2018 at 02:27 UTC
Updated:
2 Nov 2019 at 11:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
denes.szabo commentedThe line 42. is about closing the sidenav.
What browser did you use? It worked to me in Firefox, Chrome. I will check it again soon.
Comment #3
igel commentedI can tell, yet removing this line fixes the issue for me. I'm using Opera 51.0 (Mac).
Comment #4
denes.szabo commented@igel - The event.preventDefault is for: For example, clicked anchors will not take the browser to a new URL. http://api.jquery.com/event.preventDefault/
This is we need there, handling the click event if the close link clicked - remove body class then. No need this event bubble up.
Maybe, in your HMTM the sidenav close overflows the sidenav menu links?
This is how it should be display:
Would you mind to check your version?
Comment #5
denes.szabo commentedJust postponed till new info arrives.
Comment #6
Bettina HändelWith click on side navigation menu
e.stopPropagation()stopps now calling$('.side-nav, .sidenav-close .button-close').clickand links on side navigation are enabled :)