Authored by 盖剑秋

Fix UI bugs. reviewed by redding.

... ... @@ -309,6 +309,11 @@ export default function community(platform) {
getSceneStyle={(props) => {
return this.navPushStyle(props);
}}
onBack={(navigationState) => {
let dismissKeyboard = require('dismissKeyboard');
dismissKeyboard();
Actions.pop();
}}
/>
<Scene
... ...
... ... @@ -79,8 +79,10 @@ export default class SubjectPost extends Component {
if (this.boardInView) {
return;
}
let kbdHeight = height - event.endCoordinates.screenY;
if (kbdHeight == 0) {
this.setState({replyState: ReplyState.replyNone});
}
this.boardHeight = kbdHeight>0?kbdHeight:250;
this.boardSelectionHeight=kbdHeight;
let targetHeight = height-navbarHeight-0.5- kbdHeight;
... ... @@ -602,7 +604,7 @@ const styles = StyleSheet.create({
flex: 1,
paddingLeft: 10,
paddingRight: 10,
paddingTop: 9,
paddingTop: 3,
paddingBottom: 9,
color: 'black',
height: 33,
... ...