From 6e8e75f97c2c6d95efdfadd836a83d5b39b7298d Mon Sep 17 00:00:00 2001 From: co2-git Date: Mon, 20 Feb 2017 17:47:01 -0500 Subject: [PATCH] Omit style on View if scrollable since style is passed down to container style --- CHANGELOG.md | 4 ++++ app/Component/View/mobile.js | 3 ++- package.json | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2d31f6..9a4c867 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ reactors change log # Versions +## v2.1.3 + +- Omit style on View if scrollable since style is passed down to container style + ## v2.1.2 - Remove `onPress` prop to mobile View diff --git a/app/Component/View/mobile.js b/app/Component/View/mobile.js index ab1d12d..aadf735 100644 --- a/app/Component/View/mobile.js +++ b/app/Component/View/mobile.js @@ -5,6 +5,7 @@ import React, {Component} from 'react'; import {ScrollView, View} from 'react-native'; +import omit from 'lodash/omit'; export default class ReactorsViewMobile extends Component { @@ -24,7 +25,7 @@ export default class ReactorsViewMobile extends Component { return ( {this.props.children} diff --git a/package.json b/package.json index 9fc52b0..a84bf1e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reactors", - "version": "2.1.2", + "version": "2.1.3", "description": "View components and APIs that work web, mobile and desktop!", "main": "dist/index.js", "keywords": [ @@ -32,7 +32,7 @@ "eslint": "eslint app", "flow": "flow", "prepush": "npm run eslint && npm test", - "up": "npm run babel && npm prepush && npm publish", + "push": "npm run babel && npm run prepush && npm publish", "test": "jest --colors --debug --notify --verbose" }, "author": {