Tap outside the popup to close after the popup displayed on iOS.
On first page, it operates correctly. But on second page, scroll to top then popup closed.
Popup: Record scrollTop upon open and close, and restore it upon hash…
…change. Fixes #5334.
Yeah, just wanted to open an issue about this.