Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The contents of a closed popup should not appear in "find" or "copy all text" #5892
We're opening popups programmatically, so it makes no sense to keep the dom nodes around after they are closed. In a long-running app, this creates large cruft when you popup tooltips or notifications. They should be removed from the dom if jQM added the dom node by itself.
Furthermore, if they are left around in the DOM, they should be display: none instead of just moved off-screen where they are found by the browser's "find" or "copy all text" features. This already happens correctly for pages when they deactivate.