Slidebars icon indicating copy to clipboard operation
Slidebars copied to clipboard

slidebar closes suddenly on Android browser

Open simube opened this issue 10 years ago • 10 comments

I set up slidebar on a webpage (www.konkreet.ch) but on the default browser on Android devices, the sidebar suddenly closes again after touching the menu-button and loads the first or second menu-entry (depending on touch-position).

I had this issue with another jQuery-Nav as well but this one was an older script...

Does someone have an idea what to do?

Simon

simube avatar Aug 27 '14 10:08 simube

Hi,

Which version of Android are you experiencing this with? I just took a look on 4.4 and it worked perfectly.

Adam

adchsm avatar Aug 27 '14 15:08 adchsm

Android v 4.3 it happens in the default browser and in "dolphin browser" but not in Chrome.

simube avatar Aug 27 '14 20:08 simube

Ok cool, I'll look into this properly when I can but I'm fairly busy right now, Slidebars is entirely on hold.

adchsm avatar Aug 29 '14 14:08 adchsm

I get the same issue with Android 4.3 and the default browser.

ghost avatar Aug 29 '14 19:08 ghost

Ok thanks for letting me know, are any of you using the API, or just using the standard control classes?

adchsm avatar Sep 01 '14 12:09 adchsm

i use:

    Slidebars-0.10.2/distribution/0.10.2/slidebars.min.js

with this Script:

$.slidebars({
    siteClose: true,
    disableOver: 900, // integer or false
    hideControlClasses: true, // true or false
    scrollLock: false // true or false
  });

PS: on your site: http://plugins.adchsm.me/slidebars/usage.php the commas in the options-example are missing (just before the // comments...)

simube avatar Sep 01 '14 12:09 simube

Thanks for letting me know :) i'll get that fixed!

adchsm avatar Sep 01 '14 12:09 adchsm

Im using the standard control classes

On Monday, 1 September 2014, 13:39, Adam Smith [email protected] wrote:

Thanks for letting me know :) i'll get that fixed! — Reply to this email directly or view it on GitHub.

ghost avatar Sep 01 '14 13:09 ghost

It sounds like an event propagation issue where both a touch and click event are being passed, I thought I had this covered but apparently not! I'll keep you updated.

adchsm avatar Sep 01 '14 13:09 adchsm

Yes, I agree - its capturing the event and propagating it down. Thanks - looking forward to the fix. Great plugin btw :+1:

ghost avatar Sep 01 '14 13:09 ghost