• Home
    • Pugpig Bolt
    • Bolt apps

    Returning to the app

    Written by Harry Phillips

    Updated at November 25th, 2024

    • Pugpig Bolt

      • Pugpig Site

        • Pugpig Archive

          • Working with Pugpig

            • Pugpig Consulting

              Table of Contents

              Editions Scroll Position How long is long enough? Where should you go? Sticky editions

              Bolt has relatively simple behaviour to determine what happens when a user returns to the app after it's been in the background.

              1. Bolt will always try to return the user to exactly where they were when they closed it, including context such as the navigational stack. This is true regardless of how long the app has been in the background. 

              2. This is a best effort attempt, and certain uncommon things can prevent this from happening, such as the app being upgraded to a newer version. In this case the user will be returned to the first tab. 

              3. If the app is force quit we will clear the user's state and return them to the first tab.

              Editions

              Additionally, we've added behaviour to always preserve a user's position inside an edition. This means that if they were part-way through an edition and then navigate elsewhere in the app, when they return to that edition we'll take them back to the page they were on when they left. This is true of editions which do not have a table of contents.

              Scroll Position

              As of version 4.2, Bolt also persists the user's vertical scroll position within an article, which is particularly useful for longer articles a user is unlikely to finish in one session. This is remembered even if a user leaves, reads other content elsewhere in the app and then returns to the unfinished article. 

              Note that certain elements that change the length of an article, such as ads, can interfere with this behaviour. Furthermore, certain content on Android does not abide by this behaviour, we're working to identify and fix this, but please raise with support@pugpig.com if you notice this. 



              state restoration restart

              Was this article helpful?

              Yes
              No
              Give feedback about this article

              Related Articles

              • Canonical URLs
              • Accessibility in Pugpig Bolt
              pugpig logo white
              Navigation
              • Products
              • Customers
              • News
              • Podcast
              Contact
              • Contact us
              • LinkedIn
              • Twitter
              Technical Support
              • Status Page
              • Documentation
              • Customer Support
              Corporate
              • Company
              • Jobs
              • Privacy Policy

              © Kaldor Ltd. 2022

              Powered by Pugpig


              Knowledge Base Software powered by Helpjuice

              Expand