Skip to content

Commit

Permalink
Bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffeyDev committed Oct 6, 2017
1 parent 3b591d5 commit 5d4cc9d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion Popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,25 @@ export default class Popover extends React.Component {
}
};

this.keyboardDidShow = this.keyboardDidShow.bind(this);
this.shiftForKeyboard = this.shiftForKeyboard.bind(this);
this.keyboardDidHide = this.keyboardDidHide.bind(this);
this.measureContent = this.measureContent.bind(this);
this.computeGeometry = this.computeGeometry.bind(this);
this.computeTopGeometry = this.computeTopGeometry.bind(this);
this.computeBottomGeometry = this.computeBottomGeometry.bind(this);
this.computeLeftGeometry = this.computeLeftGeometry.bind(this);
this.computeRightGeometry = this.computeRightGeometry.bind(this);
this.computeAutoGeometry = this.computeAutoGeometry.bind(this);
this.getArrowSize = this.getArrowSize.bind(this);
this.getArrowColorStyle = this.getArrowColorStyle.bind(this);
this.getArrowRotation = this.getArrowRotation.bind(this);
this.getArrowDynamicStyle = this.getArrowDynamicStyle.bind(this);
this.getTranslateOrigin = this.getTranslateOrigin.bind(this);
this._startAnimation = this._startAnimation.bind(this);
this._startDefaultAnimation = this._startDefaultAnimation.bind(this);
this._getDefaultAnimatedStyles = this._getDefaultAnimatedStyles.bind(this);
this._getExtendedStyles = this._getExtendedStyles.bind(this);
}

componentWillMount() {
Expand Down Expand Up @@ -518,7 +537,7 @@ export default class Popover extends React.Component {
<Animated.View style={[styles.background, ...extendedStyles.background]}/>
</TouchableWithoutFeedback>
<Animated.View style={[{top: popoverOrigin.y, left: popoverOrigin.x,}, ...extendedStyles.popover]}>
<Animated.View ref='content' onLayout={this.measureContent} style={[contentContainerStyle, contentModeStyling]}>
<Animated.View ref='content' onLayout={evt => this.measureContent(evt)} style={[contentContainerStyle, contentModeStyling]}>
<Animated.View style={[{width: contentSizeAvailable, height: forcedHeight}, contentStyle, dropShadowStyling]}>
{this.props.children}
</Animated.View>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-popover",
"version": "0.4.6",
"version": "0.4.7",
"description": "A <Popover /> component for react-native",
"main": "Popover.js",
"author": "Jean Regisser <[email protected]> (https://github.com/jeanregisser)",
Expand Down

0 comments on commit 5d4cc9d

Please sign in to comment.