Created
December 13, 2013 16:55
-
-
Save mgaudet/7947377 to your computer and use it in GitHub Desktop.
Bug Report 15656765
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: | |
In iOS6 I could select text, and then open a bookmarklet (like this one for example: https://bitbucket.org/mgaudet/dayonebookmarklet/src/1062388c8320f72ca099f4e684a9d9822d7e905c/dayone.html?at=master) which grabbed the text using window.getSelection(). | |
However, it seems in iOS7, any action to invoke a bookmarklet deselects the text. | |
Steps to Reproduce: | |
1. Have a bookmarklet which uses window.getSelection() | |
2. Select Text | |
3. Try to invoke bookmarlet | |
Expected Results: | |
Bookmarklet is invoked, with selected text available in window.getSelection() | |
Actual Results: | |
Bookmarklet is invoked, however selection is removed, and no text is available in window.getSelection(). | |
Version: | |
iOS 7.0.4 (11B554A) | |
Notes: | |
Configuration: | |
iOS 7, iPhone 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment