Fix iOS post context menu (#1165)
This commit is contained in:
parent
a65811e088
commit
e7f8388fe1
1 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ export default class OptionsContext extends PureComponent {
|
|||
};
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
if (this.props.actions !== nextProps.actions) {
|
||||
this.setState({actions: nextProps.actions});
|
||||
}
|
||||
}
|
||||
|
||||
handleHideUnderlay = () => {
|
||||
if (!this.isShowing) {
|
||||
this.props.toggleSelected(false, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue