• ethan700

    (@ethan700)


    Hi,

    After using lightbox on mobile, certain click events aren’t firing.

    For example: On a phone, try tapping on and then going all the way through the photos on this page, then tap above a photo to return to the site. Then try the mobile menus. It might take a few times to recreate the bug. I’ve had it happen on chrome and safari on iPhone 5, haven’t tested other phones. http://www.thedaddynamic.com/photography/street-photography-denver-rino/

    From the author of this theme:

    Okay I was able to recreate the issue. Since this bug is only occurring with the use of the Jetpack Carousel, I believe the issue is coming from the plugin and not Tracks [theme].

    I think it would be best to post a support thread on their plugin’s forum. Let them know that after using the lightbox on mobile, certain click events aren’t firing.

    Thanks, hope it’s fixable.

    https://wordpress.org/plugins/jetpack/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Could you let me know what happens when you click on the hamburger icon to open the navigation menu? I tried to go through all your pictures in the carousel view a few times (these are great photos, by the way!), but the menu always seemed to work. I was using Chrome on an iPhone 5.

    I also tried leaving the Carousel view before I went through all the images, but it seemed to work as expected.

    Am I missing something? Is it possible that the page was still loading when you tried to click on one of the links?

    Thread Starter ethan700

    (@ethan700)

    Hi Jeremy,

    Thank you so much for responding! The hamburger icon becomes inactive – it turns white and does nothing. I think you can reproduce the bug if you follow these steps:

    1. Go here http://www.thedaddynamic.com/category/photography/ and then click on the Street Photography: Denver Rino link

    2. Do NOT try the hamburger menu

    3. Click on the first photo from the carousel

    4. Exit out of the carousel and then try the menu

    It breaks every time for me if I follow those steps exactly. Let me know, and thank you.

    -Ethan

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    I still can’t seem to be able to reproduce. I also tried on an Android phone running Android 4.4.4, but the hamburger menu always works.

    Are you logged in to your WordPress account on your phone? I wonder if the problem could be limited to logged in users.

    Thread Starter ethan700

    (@ethan700)

    Hmmm, very odd. I am not logged in. If I test the menu first and then try the carousel it doesn’t break, but otherwise it does. The theme author was able to reproduce it, as seen here: https://wordpress.org/support/topic/mobile-menu-bugs-with-jetpack-carousel

    Please let me know if there’s anything else I can do to help.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Alright, I was able to reproduce on an iPhone 6, and then in Safari on my laptop. I don’t see any Javascript errors, and the new CSS classes are properly applied to .overflow-container and .site-header, so I’m not sure what’s wrong here:
    http://i.wpne.ws/aRRT

    Could you try to deactivate your caching plugin’s Minify functions, and let me know if it changes anything?

    Thread Starter ethan700

    (@ethan700)

    Minify disabled and cache cleared. It still seems to be happening for me, but let me know if it has changed for you.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    I can still reproduce as well. I’ve asked one of our developers to take a look, but so far we don’t really understand what’s happening, and why it only happens in some browsers.

    I’ll get back to you as soon as we find a solution!

    Thread Starter ethan700

    (@ethan700)

    Eek, I found a difficult one! Thanks so much for all your help!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    After running some tests, we haven’t found the cause but we may have a solution.

    Your theme automatically applies some CSS changes via Javascript whenever someone taps on the hamburger menu. These changes are made in this file, in the following lines:

    menuPrimary.css('transform', 'translateX(' + -menuWidth + 'px)');
    $('#menu-primary-tracks').css('transform', 'translateX(' + menuWidth + 'px)');

    That .css() setter should automatically take care of prefixing the property name (transform), but some weird reason it doesn’t when you exit the Carousel view.

    Could you ask the theme author to add the prefixes manually in js/build/production.js, and see if it helps? In our tests, .css('transform', 'translateX(500px)') didn’t work when exiting the Carousel view, but .css('-webkit-transform', 'translateX(500px)') works fine.

    Let me know how it goes. In the meantime, we’re still looking into it to see if we can understand why it doesn’t work in the first place.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Jetpack Carousel Bug on Mobile’ is closed to new replies.