fix ios pressure helper and click handler
This commit is contained in:
11
src/Flows.js
11
src/Flows.js
@@ -173,6 +173,17 @@ class FlowSidebar extends PureComponent {
|
||||
this.reply_ref=React.createRef();
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
this.setState({
|
||||
attention: nextProps.attention,
|
||||
info: nextProps.info,
|
||||
replies: nextProps.replies,
|
||||
loading_status: 'done',
|
||||
});
|
||||
this.color_picker=nextProps.color_picker;
|
||||
this.syncState=nextProps.sync_state||(()=>{});
|
||||
}
|
||||
|
||||
set_variant(cid,variant) {
|
||||
this.setState((prev)=>{
|
||||
if(cid)
|
||||
|
||||
Reference in New Issue
Block a user