Authored by 盖剑秋

Fix UI bug on post detail. reviewed by redding.

... ... @@ -84,14 +84,16 @@ export default class SubjectPost extends Component {
Keyboard.addListener('keyboardWillChangeFrame',(event)=>{
let kbdHeight = height - event.endCoordinates.screenY;
if (kbdHeight>0) {
this.boardInView = false;
this.setState({imageState: 0});
} else {
if (this.boardInView) {
if (kbdHeight>0) {
this.setState({imageState: 0});
}
return;
}
if (kbdHeight == 0) {
this.currentReplyState = ReplyState.replyLZ;
this.setState({replyState: ReplyState.replyNone});
}
... ...