link/button and mobile touch behavior

WPPizza – A Restaurant Plugin for WordPress Support General Support link/button and mobile touch behavior

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #7522
    lukasw
    Participant

      Hello,
      i’m creating a “webapp” (http://www.pizzeriagrottaazzurra.it/mob/) and there’s an issue while scrolling the menu list on mobile devices.

      What happens is that while scrolling the page (with the menu list/items) if i accidentally hit the Price/Add to cart button, it add the item to the basket (or opens the popup window: we’re closed).

      i’ve tried various “touch” plugins (including WPtouch mobile plugin) and scripts but i’m not able to making it work.

      Any hints on this?
      thanks

      #7524
      Olly
      Admin & Mod

        what device are you using ?

        #7535
        lukasw
        Participant

          hi,
          sorry for late answer (didn’t receive any email notification).
          iphone 5 iOS 8.1.2.
          thanks
          lukas

          #7537
          Olly
          Admin & Mod

            >sorry for late answer
            no problem

            >didn’t receive any email notification
            went to junk perhaps (?)

            >iphone 5 iOS 8.1.2.
            yeah , i figured. I believe this is only an iStuff issue…

            I do not own – and am not planning to own – any iThing. (not a big fan of those for various reasons)

            However, I do realise of course that I cannot just ignore them so need a bit of help from iStuff users – that would be you in this case – to double check some things.

            Without further ado therefore, do me a favour:

            update wppizza to the latest version (this is now v.2.11.7.6).
            go to wppizza->settings
            under “Miscellaneous” you will find “experimental JavaScript”.
            please enable this (and save) and let me know if this now behaves / works (or is at least better)

            thanks, any feedback would be great on this particular chestnut

            #7563
            lukasw
            Participant

              >didn’t receive any email notification
              went to junk perhaps (?)

              nope, i was sure i selected the Notify checkbox before (but maybe i didn’t!), anyway now it works.

              >iphone 5 iOS 8.1.2.
              yeah , i figured. I believe this is only an iStuff issue…

              well, ok that some good news, haven’t tested the site on any other mobile device, will do.

              >However, I do realise of course that I cannot just ignore them so need a bit of help from iStuff users – that would be you in this case – to double check some things.

              yes of course, i’d be glad to help you sort it out.

              Without further ado therefore, do me a favour:

              >update wppizza to the latest version (this is now v.2.11.7.6).

              ok, done.

              >go to wppizza->settings
              under “Miscellaneous” you will find “experimental JavaScript”.
              please enable this (and save) and let me know if this now behaves / works (or is at least better).

              ok, done. but no, can’t notice any changes.
              thank you, for a very nice plugin.
              lukas

              #7566
              Olly
              Admin & Mod

                it appears chrome does a decent job of emulating iThings.
                how comfortable are you with overwriting files or even editing them ? (would just save me from adding new versions to the WP repository all the time until this works)

                #7567
                lukasw
                Participant

                  no problem!

                  #7568
                  lukasw
                  Participant

                    ..and yes, the google chrome device simulator seems to display things identically.
                    and the touch screen emulation seems to work fine too.

                    #7569
                    Olly
                    Admin & Mod

                      yup same here (and causes the same issue, so that’s good in this case)

                      problem is – in case you care – that iOS doesn’t understand the click event on divs/spans etc (i.e non-inputs/a tags) so I’m using touchstart.
                      unfortunately, touchstart also fires when scrolling (which is just plain annoying…..)

                      have been trying for ages to get around that one, but no luck. so if you come across something in your travels, let me know

                      #7570
                      Olly
                      Admin & Mod

                        I might have just stumbled across something…

                        could you do/try the following :

                        make a backup of
                        wppizza/js/scripts.exp.min.js
                        and
                        wppizza/js/scripts.min.js

                        download 2 new versions here (there are – eventually – better ways to do this, but i just need to know that this is working)

                        https://www.wp-pizza.com/wp-content/uploads/custom/scripts.exp.min.js
                        https://www.wp-pizza.com/wp-content/uploads/custom/scripts.min.js

                        and overwrite the old ones

                        reload/refresh your browser / page and let me know if this changes things perhaps ..?!
                        (and make sure you can still proceed with orders, putting things in cart etc)

                        #7571
                        Olly
                        Admin & Mod

                          oh, it will probably not let you select individual things in the add ingredients extension (once it’s open for selection) – i will have to change some bits there – but if it stops items being added to the cart when scrolling as well as adding them to the cart (and at least opening the add ingredients thing) we are half way there.

                          that is to say , if this works, re use your backed up files and i will update things in all required places and make updates available

                          thanks

                          PS: and if you should have some other iThings lying around , maybe a quick check there too (although i can ask some people i know that have iPhone 4 and iPads to check i needs be)

                          #7573
                          lukasw
                          Participant

                            seems like you solved it!
                            and the add ingredients module’s working fine too for me (no problem adding extra ingredients, works also with the chrome device emulator).
                            cool!

                            waiting for the update then!
                            great!
                            thanks

                            ps. nope, just an iphone here!

                            #7574
                            Olly
                            Admin & Mod

                              excellent stuff .
                              might take a day or two for an update (as other plugins rely on this clickevent too and i just want to make sure it doesnt break things for those – should be doable though)

                              #7575
                              Olly
                              Admin & Mod

                                thanks for being a guinea pig

                                #7576
                                lukasw
                                Participant

                                  🙂 no problem, you’re welcome.
                                  thanks again for very good plugin and support.

                                  #7581
                                  Olly
                                  Admin & Mod

                                    as of 2.11.7.7 this should now be fine , but let me know if you experience issues of course

                                    #7585
                                    lukasw
                                    Participant

                                      great!
                                      thanks

                                    Viewing 17 posts - 1 through 17 (of 17 total)
                                    • The topic ‘link/button and mobile touch behavior’ is closed to new replies.