Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

[home] adds a way to select tab from initial props #883

Merged
merged 2 commits into from
Dec 12, 2017

Conversation

sarahscott
Copy link
Contributor

@sarahscott sarahscott commented Dec 11, 2017

Starts the fix for https://github.com/artsy/collector-experience/issues/751

The complete fix will require some updates to eigen. Using this, we can make sure the Home view opens on the Artists tab from the Works For You deep links, and possibly also on the For You tab after onboarding.

# This fixes a bug in our Home tab view; it can probably be removed when we upgrade to RN 0.50+
# See https://github.com/artsy/collector-experience/issues/751
react_scrollview_file = '../node_modules/react-native/React/Views/RCTScrollView.m'
react_scrollview_old_code = 'self.contentOffset = CGPointMake(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alloy
Copy link
Contributor

alloy commented Dec 12, 2017

Ace 👌

@alloy alloy merged commit 6e6cb8c into master Dec 12, 2017
@alloy alloy deleted the sos-home-select-tab-from-props branch December 12, 2017 03:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants