BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss Mobile Only › Touching top nav menu button triggers home page load
Tagged: home page load, mobile, navigation
- This topic has 5 replies, 2 contibutors, and was last updated 9 years, 3 months ago by Alyssa.
Question
May 10, 2015 at 4:32 pm #39995@tekbossJust upgraded to 4.2.0 and discovered this when testing. Went back to previous version (4.1.9) and discovered the same issue. I missed it when testing before.
Problem: On a Samsung S 3, clicking the main menu (top right) icon to show the menu drop down ALSO triggers a Home Page load unless you press very far down on lower right corner of icon. This effectively renders the menu useless.
I can not duplicate on a desktop and have no other mobile devices to test it.
The fix is to change js/buddyboss.js (lime 342) from:
Panels.$right_icon.on( ‘fastclick click’, { target: ‘icon’, side: ‘right’ }, Panels.on_click );
to
Panels.$right_icon.on( ‘click’, { target: ‘icon’, side: ‘right’ }, Panels.on_click );
Removing the “fastclick”
I do not know if this is the BEST fix, but making that change totally solves the problem.
Hopefully this helps someone.
Answers
May 11, 2015 at 4:42 pm #40053@alyssa-buddyboss
AlyssaParticipant@tekboss thanks for sharing this fix. I’ll submit this to our developers to consider a fix.
May 11, 2015 at 5:02 pm #40059@alyssa-buddyboss
AlyssaParticipant@tekboss can you also check if there is a plugin conflict for me?
May 12, 2015 at 12:16 pm #40109@tekbossSorry for the delay.
Confirmed. There is NO Plugin conflict.
With all plugins removed (plugin folder deleted) and the change reversed, the issue remains.
I did not research what “fastclick” does, but I believe there is some sort of overlap issue with the site-name being clickable to the home page.
Good luck.
May 14, 2015 at 2:57 pm #40221@alyssa-buddyboss
AlyssaParticipant@tekboss FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic. Perhaps iOS or safari made an update that breaks fastclick or we have not updated to the last fastclick library since the last ios/safari update.
August 18, 2015 at 6:57 pm #44675
- The question ‘Touching top nav menu button triggers home page load’ is closed to new replies.