bug fixes

- click handler event binding
- click handler on img elem
- trailing space in content
- sidebar will-change optimization
- sidebar auto to top
- sidebar not closed after post
- reply form bottom position
This commit is contained in:
xmcp
2019-06-12 16:35:20 +08:00
parent f72ab83ca4
commit ed4794ed5a
8 changed files with 33 additions and 19 deletions

View File

@@ -138,7 +138,7 @@ class ControlBar extends PureComponent {
this.props.show_sidebar(
'发表树洞',
<PostForm token={token} on_complete={()=>{
this.props.show_sidebar('',null);
this.props.show_sidebar(null,null);
this.do_refresh();
}} />
)