javascript - Android mobile menu behavior -


we seem running issue in regard android devices when comes opening action of our menu navigation ashoka theme in wordpress.

the issue described;

the menu on android seems work after fails 1 time deliver desired behaviour. after works intended. ofcourse love of god, have no idea why have fail work.

it working without issues on both desktop (ie / ff / chrome / opera / safari) / ios devices.

it comes in 2 situations;

1 - if click site logo, arrow below seems closing action (which should not because not opened yet)

2 - second issue (also on android) if click arrow below logo (before clicked logo , failed) seems redirect random page.

what using

  • wordpress (4.4.1)
  • wordpress theme ashoka

for quick reference

i have attached both custom.js

if can test , give feedback further solve offcourse more awesome.

if need additional information please feel free let know! in advance, thoughts , replies, appreciated.

kind regards, patrick

custom js: http://inhoudgemert.patrickdankers.nl/wp-content/themes/ashoka/js/custom.js

we have taken people locally , have came realise there issues custom.js implementation used in theme. have added additional logic correctly adjust menu behaviour.

sadly has become quite change harder replicate. go give general idea please take at; https://jsfiddle.net/dsrqpz0h/11 in have depicted scenario should work correctly on android.

escpecially have added needed unbinds / binds click / tap / mouseenter;

function bindopen() {     //unbind close functions   $('#menu').unbind('click');    //bind open functions   $('#menu').tap(openfunction);   $('#menu').mouseenter(openfunction); } 

once again views , replies none less!


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -