Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Back button in mobile browser does not reload the previous page

Back button in mobile browser does not reload the previous page

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 329 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    C
    CasperK
    wrote on last edited by
    #1

    Hi Lay Theme devs,

    Since a few weeks we encounter a strange problem on our website. We are using Lay theme and the Carousel plugin. The back button on mobile browsers does not refresh the page. It does set the address of the previous page, but does not go back to that page. This only happens when the website is shown on mobile phone layout, in desktop mode the behavior is normal. It happens on mobile devices, but I can also reproduce this behavior on a desktop browser (Firefox), when showing mobile device dimensions.

    To reproduce the problem, visit https://pakhaus.nl/collectie/. Then in mobile phone layout click on an item in the grid with images. First an overlay with text is shown, tap again and the next page is shown. When the back-button of the browser is pressed, the address bar shows the previous address, however the page is not reloaded. When I refresh manually, the page is reloaded and shows the correct content.

    64e86119-2557-4bae-8646-4707e56c464f-afbeelding.png

    1 Reply Last reply
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      for me it works mmh

      can u go to lay options → enable "disable ajax / compatibiliy mode"

      1 Reply Last reply
      0
      • C
        C
        CasperK
        wrote on last edited by CasperK
        #3

        Hi Arminunruh,
        Thank you for your reaction and proposal. In compatibility mode, I had some other weird behavior, so I could point the error to a custom plugin. After disabling the plugin the back button works again, and support in the plugin for the ajax event (https://laytheme.com/documentation/custom-javascript.html#newpage-events) also solved the event in the plugin.

        1 Reply Last reply
        0
        • arminunruhA
          arminunruhA
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          ok very good

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          Q
          quentin.v
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search