This is a longstanding issue. It applies to issues, editor and talk overlays. It is impossible to read the article if you follow a url which contains a hash fragment.
=== Steps to Reproduce
# open fresh browser tab
# Visit the all issue link in the new OR old treatment: https://readers-web-master.wmflabs.org/wiki/Naugadh#/issues/all
# Close the issue dialog
=== Expected Results
- The dialog is dismissed and I can read the article Naugadh
=== Actual Results
- The dialog is dismissed and I am ejected from the mobile site.
{F24988364, size=full}
=== Environments Observed
- readers-web-master
**Browser Version **
- Chromium v68.0.3440.75
**OS Version**
- Ubuntu v18.04 64b
**Device Model**
- Desktop
**Device Language**
- English
= developer notes
Exiting an overlay relies on the back button. A solution will thus need to detect that the user has entered the mobile experience in the hash fragment state. The OverlayManager will need go be able to detect that the previous history entry is a different domain or if there is no previous history entry. When this is the case, using history replaceState we should inject a new item without the hash fragment state before the current before opening the overlay.
Do not worry about browsers that do not support the history api.