Skip to content

Commit

Permalink
Hide vertical scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeNg93 committed Feb 24, 2019
1 parent 5853e80 commit 6ab0bc4
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ class SubscriptionDetailScreen extends React.Component {
}

return (
<ScrollView style={styles.mainContainer}>
<ScrollView
showsVerticalScrollIndicator={false}
style={styles.mainContainer}
>
<View style={styles.topContainer}>
<Image
style={styles.image}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,10 @@ class SubscriptionSelectionScreen extends React.Component {
}}
/>
<View style={{ bottom: 0 }}>
<ScrollView style={styles.cart}>
<ScrollView
showsVerticalScrollIndicator={false}
style={styles.cart}
>
<View>
<View style={styles.cartTitleContainer}>
<View style={{ flexDirection: 'row' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ class OrderSummaryScreen extends React.Component {
render() {
return (
<View style={styles.mainContainer}>
<ScrollView style={{ paddingHorizontal: 30 }}>
<ScrollView
showsVerticalScrollIndicator={false}
style={{ paddingHorizontal: 30 }}
>
<CheckoutStepProgress currentStep="3" />
<View style={styles.orderedSubscriptionsContainer}>
<Text style={styles.titleText}>Subscriptions Ordered</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class ShippingAddressCheckoutScreen extends React.Component {
console.log(this.props.user);
return (
<View style={styles.mainContainer}>
<ScrollView>
<ScrollView showsVerticalScrollIndicator={false}>
<CheckoutStepProgress currentStep="1" />

<View style={{ marginTop: 34 }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class MySubscriptionScreen extends React.Component {
paddingLeft: 32,
}}
>
<ScrollView>
<ScrollView showsVerticalScrollIndicator={false}>
<Text style={styles.mainTitle}>Current subscriptions</Text>
{this.renderSubscriptionListPerOrder()}
</ScrollView>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class ChangeShippingAddressScreen extends React.Component {
render() {
return (
<View style={styles.mainContainer}>
<ScrollView>
<ScrollView showsVerticalScrollIndicator={false}>
<View style={{ marginTop: 34 }}>
<Text style={styles.titleText}>Shipping address</Text>
{this.state.fetchShippingAddresses && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default class SubscriptionManagementScreen extends React.Component {
return (
<View style={styles.mainContainer}>
{this.state.fetchedOrder && (
<ScrollView>
<ScrollView showsVerticalScrollIndicator={false}>
<View style={{ paddingRight: offset }}>
<View style={styles.orderTitleContainer}>
<Text style={styles.orderTitle}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default class OrderHistoryDetailsScreen extends React.Component {
return (
<View style={styles.mainContainer}>
{this.state.fetchedOrder && (
<ScrollView>
<ScrollView showsVerticalScrollIndicator={false}>
<View style={{ paddingRight: offset }}>
<View style={styles.orderTitleContainer}>
<Text style={styles.orderTitle}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export default class OrderHistoryScreen extends React.Component {
render () {
return (
<ScrollView
showsVerticalScrollIndicator={false}
contentContainerStyle={styles.scrollContainerContent}
style={styles.container}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ class UserProfileScreen extends React.Component {
const { name, email, shippingAddress, billingAddress } = this.props.user;
return (
<View style={styles.container}>
<ScrollView contentContainerStyle={styles.scrollContainerContent}>
<ScrollView
showsVerticalScrollIndicator={false}
contentContainerStyle={styles.scrollContainerContent}
>
<View style={styles.bigCircle} />
<View style={styles.namePictureContainer}>
<Image
Expand Down

0 comments on commit 6ab0bc4

Please sign in to comment.