• Resolved flome

    (@flome)


    The mobile version of the plugin is a bit choppy and it causes my hamburger menu to slow down as well. Is there an easy way to disable the animations without modifying the jquery in the js folder?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Baden

    (@baden03)

    No, not in the free version.
    Is this happening only on certain devices/browsers?
    can you share a link to your page so we can test it on our end?

    Thread Starter flome

    (@flome)

    https://bit.ly/2ctxHZ9

    There’s the link. It’s still a work in progress and I did try testing my theory by disabling the length of the animations to zero in Jquery but it’s still doing it. The issue occurs on my iPhone 6S+ (which should have sufficient processing power). I’m inexperienced when it comes to JS, so forgive me.

    Thanks for your help,
    Florin

    Plugin Author Baden

    (@baden03)

    looks like you got the animation to stop.
    are you still having performance issues with the plugin on mobile devices?

    Thread Starter flome

    (@flome)

    My responsive hamburger menu is still opening slow. Could it have to do with the fact that both elements (menu and countdown) are visible on the screen, and thus causing the lag when expanding the hamburger menu?

    To reproduce, go to the site on a mobile device in portrait mode and open the hamburger menu.

    Plugin Author Baden

    (@baden03)

    is this by chance a multisite?
    there are a number of resources that are being:
    blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin'
    because your site is on discoveru.pairsite.com but your plugins are being loaded form discoveruwa.org

    Outside of that, there might be a conflict with your theme. We do not seem to have an issue on mobile devices when using a default twenty-something theme from WordPress, for example.

    What happens when you temporarily switch themes… does the problem persist?

    Thread Starter flome

    (@flome)

    Actually I JUST migrated to the live domain. Was building on a staging server. You must have seen those errors prior to me running Velvet Blues plugin in order to change URLS in the Database.

    It is not a multi-site. I have not tried switching themes, but if I simply navigate to a different page on the site (one that does not have a countdown on the page) the menu opens smoothly as expected.

    Plugin Author Baden

    (@baden03)

    ok, then try completely deleting the plugin and re-installing.
    The cross domain loading is still an issue, as you can see in the inspector console.

    Did you try switching the theme to twenty-sixteen to see if the problem persists with a standard WP theme?

    Thread Starter flome

    (@flome)

    Well it took a while but I finally figured it out.

    I was loading a box shadow on an H4 tag that was being injected Above the countdown. The shadow was likely being rendered underneath the jquery elements and thus causing the visual lag.

    Thanks for trying to work this through with me.

    Thread Starter flome

    (@flome)

    Side note: I’m not seeing the cross-domain loading issues you mention when I use the Chrome inspector. I only see one error related to one of my extensions. Can you enlighten me on what you’re seeing? Thanks.

    Plugin Author Baden

    (@baden03)

    Just checked… it’s still there in Chrome under:
    View > Developer > Javascript Console

    JQMIGRATE: Migrate is installed, version 1.4.1
    2(index):1 Font from origin 'https://discoveruwa.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://discoveru.pairsite.com' is therefore not allowed access.
    (index):1 XMLHttpRequest cannot load https://discoveruwa.org/wp-content/plugins/jquery-t-countdown-widget/js/now.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://discoveru.pairsite.com' is therefore not allowed access.
    
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Disabling animations on mobile’ is closed to new replies.