mysterymanila / mysterymanila.github.io

0 stars 0 forks source link

On touch-enabled devices, hide/show navbar on touch events. #85

Open jericodelfinado opened 9 years ago

jericodelfinado commented 9 years ago

The javascript for auto-hiding the navbar when scrolling or when mouse has been inactive for more than 2000 ms only listens for mouse movements and not touch events. As an effect, the navbar simply hides on touch-enabled devices and never comes back (since there aren't any mouse movements).