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

[RCTScrollView] Make ScrollView detect taps on sticky headers #1415

Closed
wants to merge 2 commits into from
Closed

[RCTScrollView] Make ScrollView detect taps on sticky headers #1415

wants to merge 2 commits into from

Conversation

brentvatne
Copy link
Collaborator

As per discussion with @nicklockwood in #875, make RCTScrollView check its sticky headers for hitTests first.

Test Plan: Have a sticky header in a ScrollView with a Touchable onPress action, scroll a bit after it docks and try tapping, should respond to tap.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 27, 2015
@brentvatne brentvatne changed the title [ReactNative] Make ScrollView detect taps on sticky headers [RCTScrollView] Make ScrollView detect taps on sticky headers May 27, 2015
@brentvatne
Copy link
Collaborator Author

@ide - good call, changed

tadeuzagallo pushed a commit to tadeuzagallo/react-native that referenced this pull request May 28, 2015
Summary:
As per discussion with @nicklockwood in facebook#875, make `RCTScrollView` check its sticky headers for hitTests first.

Closes facebook#1415
Github Author: Brent Vatne <brent.vatne@madriska.com>

Test Plan:
 Have a sticky header in a ScrollView with a Touchable onPress action, scroll a bit after it docks and try tapping, should respond to tap.
@shayne shayne reopened this Jun 1, 2015
@shayne shayne closed this Jun 1, 2015
@brentvatne
Copy link
Collaborator Author

Hey @shayne - noticed that you just closed this again, did this turn out to not be a problem after all?

@shayne
Copy link
Contributor

shayne commented Jun 1, 2015

Working with Christopher on how we want to collect regressions. Since the
PR was already merged, re-opening it didn't seem like the best idea. I was
going to create an issue that just references the PR.

On Mon, Jun 1, 2015 at 12:13 PM, Brent Vatne notifications@github.com
wrote:

Hey @shayne https://github.com/shayne - noticed that you just closed
this again, did this turn out to not be a problem after all?


Reply to this email directly or view it on GitHub
#1415 (comment)
.

@brentvatne
Copy link
Collaborator Author

@shayne - ah ok, thanks!

ayushjainrksh pushed a commit to MLH-Fellowship/react-native that referenced this pull request Jul 2, 2020
mganandraj pushed a commit to mganandraj/react-native that referenced this pull request Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants