• Resolved joncon62

    (@joncon62)


    I’m loving this plugin, looks great and just what I’m looking for. However I ran into two problems:

    1. The left/right cursor navigation works fine in Firefox but doesn’t work in Safari or Chrome.
    2. Using a single quote (code 222) in a text field works fine in Firefox but when used in Safari/Chrome it also sends a 39 code so the plugin moved to the next checkout stage.

    A little digging and it seems Safari/Chrome don’t trigger the keypress function for the cursor keys. I changed keypress to keydown in the script.js and both problems were solved.

    You may want to implement this change for future updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Diana Burduja

    (@diana_burduja)

    I find it funny that you discovered this feature.

    The keyboard navigation was written only because during the plugin development it was too annoying to scroll/click several times in order to test a small change. Using the right/left keys was much faster.

    Would you please check out the 1.7 version from here? Let me know if everything works fine and I’ll push this as a new release.

    Thread Starter joncon62

    (@joncon62)

    I only found it by accident as the checkout page was moving to the next step when I entered the single quote key (‘) in Safari.

    Functionally it now works in Firefox and Safari but…

    Thinking about this further, as a user it would be best to disable this function or pick different scroll keys (eg Shift+right/left). Customers would use those cursor keys when inputting and correcting data so it would be annoying to scroll.

    There is one other bug for me, clicking settings from the plugin menu displays the error: Sorry, you are not allowed to access this page.

    It is fine from the WooCommerce menu.

    Plugin Author Diana Burduja

    (@diana_burduja)

    You’re right, the feature needs to be optional.

    In the 1.7 version you’ll find an option for keyboard navigation on the WP Admin -> WooCommerce -> Multi-Step Checkout -> General Settings page. By default this is disabled.

    Additionally I’ve corrected the link to the settings page on the Plugins page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with cursor navigation’ is closed to new replies.