Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes 1139956 - Pressing links and controls doesn't highlight them #393

Merged
merged 1 commit into from
Apr 29, 2015

Conversation

st3fan
Copy link
Contributor

@st3fan st3fan commented Apr 28, 2015

This patch disables our own long press gesture recognizer and disables the reading list option in the default WebKit action sheet.

The way this is implemented may look scary but this does not actually use private APIs. It simply uses the dynamic nature of Objective-C. The app store binary validator does not flag this as improper API usage.

@st3fan
Copy link
Contributor Author

st3fan commented Apr 28, 2015

As a nice side-effect of using the built-in gestures, things like long pressing on a phone number will also work much better. See https://www.dropbox.com/s/z5ubi6pwz4t0fzt/Screenshot%202015-04-28%2016.01.27.png?dl=0

@thebnich
Copy link
Contributor

Some questions/comments:

  • Rather than disable it, can we override it to point to our own reading list?
  • We might want to remove LongPressBrowserHelper from the tree since it's now unused.

@st3fan st3fan force-pushed the st3fan/Bug1139956HighlightPressedLinks branch from 05073ff to 217d9e8 Compare April 29, 2015 17:37
@st3fan
Copy link
Contributor Author

st3fan commented Apr 29, 2015

As per discussion: We keep the Add to Reading List item, but we point it our own. Also removed all traces of old LongPressBrowserHelper.

st3fan added a commit that referenced this pull request Apr 29, 2015
…dLinks

Fixes 1139956 - Pressing links and controls doesn't highlight them
@st3fan st3fan merged commit 3cff5e0 into master Apr 29, 2015
@farhanpatel farhanpatel deleted the st3fan/Bug1139956HighlightPressedLinks branch October 6, 2016 07:01
ecotopian referenced this pull request in ecosia/ios-browser Mar 1, 2022
Improve the docs for the site #trivial
isabelrios pushed a commit to isabelrios/firefox-ios that referenced this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants