4

Opening a Stack Snippet in full screen should use history.pushState() to add an entry to the browser history stack. Clicking back will then close the snippet rather than leave the page completely.

2
  • Executing the snippet already uses pushState(), so when using the back button you aren't leaving the question, instead there's a bug, the "full screen" modal isn't closed.
    – Stijn
    Sep 22, 2014 at 9:45
  • The functionality I observed was the browser going back to the previous page. Ill test again when I'm not on mobile. Sep 22, 2014 at 16:26

0

You must log in to answer this question.

Browse other questions tagged .