Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

enable horizontal scrolling of tabs #337

Closed
wants to merge 0 commits into from
Closed

Conversation

gwmccull
Copy link

see:
#325
#336

@gwmccull
Copy link
Author

not trying to duplicate the work from @JohnClema on #325 but I wanted to get the horizontal scrolling in soon and his PR has been sitting for a few days. I think his PR has other work that should be considered but I used the variable names suggested to him in the PR comments

Copy link

@nehvaleem nehvaleem left a comment

Choose a reason for hiding this comment

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

contains typo

@@ -226,6 +228,7 @@ class ExNavigationSlidingTab extends PureComponent<any, Props, State> {
tabStyle: this.props.tabStyle,
labelStyle: this.props.labelStyle,
renderLabel: renderLabelFn,
tabBarScrollEnabled: this.props.tabBarScrollEnabled,

Choose a reason for hiding this comment

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

it should be:

scrollEnabled: this.props.tabBarScrollEnabled,

as you passing it to TabBar

Copy link
Author

Choose a reason for hiding this comment

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

doh! That's what I get for using find/replace for variable names

@gwmccull
Copy link
Author

@nehvaleem fixed typo

@gwmccull
Copy link
Author

gwmccull commented Jan 7, 2017

#361 builds off of the work in the PR to allow the list of tabs to be dynamic

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