PHPfox-Official / phpfox-v4-issues

phpFox Public Bug Tracker
https://phpfox.com
30 stars 21 forks source link

Mobile view main menu #3010

Closed kibcode closed 3 years ago

kibcode commented 3 years ago

What's happened?

When opening the main menu on mobile view and clicking a menu item the menu does not hide. The new site loads but the menu still shows up.

What's expected?

The menu should close after clicking a menu item

Browsers and Devices tested

Chrome Android Android Webview ...

phpFox version

phpFox 4.8.4

Workaround

I have added some javascript to remove the menu on click until this is fixed

$('.site-menu-small li a').on('click', function() { $('.main-navigation').removeClass('in'); });

harrison05 commented 3 years ago

Hi @Scheinwelt-Media , Do you enable Bundle JavaScript & CSS on your site?

kibcode commented 3 years ago

@harrison05 it does not matter if its enabled or not

spirogg commented 3 years ago

I have the same issue Safari browser as well. iPhone 11 Pro Max

spirogg commented 3 years ago

@Scheinwelt-Media where did you add the code for the main menu to close after selecting in css in the template editor at the bottom ??

spirogg commented 3 years ago

@harrison05 these last few bugs really make for our site to be inoperable for user. #3008 #3009 #3010 #3011 can we get a quick update 4.8.4.a or 4.8.5 these really make it hard for users to use the website on mobile please.

harrison05 commented 3 years ago

We will check and fix this bug and consider a quick update for Material Template

Regards.

kibcode commented 3 years ago

@spirogg i use a helper-app for my own mobile app and added it in the autoload.js. you can also put it into the ready function of the themes javascript.