Responsive Select Menu
Back Button on Smartphone Causing Bug (2 posts)

  1. ilnenterprises
    Posted 3 years ago #

    There's a strange little bug that happens on smartphones with this plugin. On a smartphone, start on a page (page 1) that's not the homepage. Then choose another page (page 2) from the dropdown menu (via Responsive Menu plugin). Then, hit the back button on the phone. The page title name of the previous page remains in the menu.

    So, you're on page 1, but the name of page 2 shows up in the menu. It's a little confusing for non-techies. I know it's a nit. Can this bug be fixed easily?

    We have our demo version on http://www.ilnenterprises.net/milo2/

    Thank you,


  2. sevenspark
    Plugin Author

    Posted 3 years ago #

    Hi Ed,

    I think that's going to be based on the browser's caching of the form elements from a previous page. It resets the form to the previous state - which is whatever link the user navigated to from that page. I suppose you could put in some javascript that would check and actually set the selected menu item on page load with this:

    $( '.responsiveMenuSelect' ).val('');

    Hope that helps :)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Responsive Select Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic