|
@@ -79,8 +79,10 @@ export default class SubjectPost extends Component { |
|
@@ -79,8 +79,10 @@ export default class SubjectPost extends Component { |
79
|
if (this.boardInView) {
|
79
|
if (this.boardInView) {
|
80
|
return;
|
80
|
return;
|
81
|
}
|
81
|
}
|
82
|
-
|
|
|
83
|
let kbdHeight = height - event.endCoordinates.screenY;
|
82
|
let kbdHeight = height - event.endCoordinates.screenY;
|
|
|
83
|
+ if (kbdHeight == 0) {
|
|
|
84
|
+ this.setState({replyState: ReplyState.replyNone});
|
|
|
85
|
+ }
|
84
|
this.boardHeight = kbdHeight>0?kbdHeight:250;
|
86
|
this.boardHeight = kbdHeight>0?kbdHeight:250;
|
85
|
this.boardSelectionHeight=kbdHeight;
|
87
|
this.boardSelectionHeight=kbdHeight;
|
86
|
let targetHeight = height-navbarHeight-0.5- kbdHeight;
|
88
|
let targetHeight = height-navbarHeight-0.5- kbdHeight;
|
|
@@ -602,7 +604,7 @@ const styles = StyleSheet.create({ |
|
@@ -602,7 +604,7 @@ const styles = StyleSheet.create({ |
602
|
flex: 1,
|
604
|
flex: 1,
|
603
|
paddingLeft: 10,
|
605
|
paddingLeft: 10,
|
604
|
paddingRight: 10,
|
606
|
paddingRight: 10,
|
605
|
- paddingTop: 9,
|
607
|
+ paddingTop: 3,
|
606
|
paddingBottom: 9,
|
608
|
paddingBottom: 9,
|
607
|
color: 'black',
|
609
|
color: 'black',
|
608
|
height: 33,
|
610
|
height: 33,
|