Skip to content

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

Closed
brentvatne wants to merge 2 commits into
react:masterfrom
brentvatne:fix-sticky-header-hittest
Closed

[RCTScrollView] Make ScrollView detect taps on sticky headers#1415
brentvatne wants to merge 2 commits into
react:masterfrom
brentvatne:fix-sticky-header-hittest

Conversation

@brentvatne

Copy link
Copy Markdown
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-botfacebook-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
@brentvatnebrentvatne changed the title [ReactNative] Make ScrollView detect taps on sticky headers[RCTScrollView] Make ScrollView detect taps on sticky headersMay 27, 2015
@brentvatne

Copy link
Copy Markdown
CollaboratorAuthor

@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 react#875, make `RCTScrollView` check its sticky headers for hitTests first.
Closesreact#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.
@shayneshayne reopened this Jun 1, 2015
@shayneshayne closed this Jun 1, 2015
@brentvatne

Copy link
Copy Markdown
CollaboratorAuthor

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

@shayne

Copy link
Copy Markdown
Contributor

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 @shaynehttps://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
Copy Markdown
CollaboratorAuthor

@shayne - ah ok, thanks!

mganandraj pushed a commit to mganandraj/react-native that referenced this pull request Sep 29, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis 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

@brentvatne@shayne@nicklockwood@facebook-github-bot