ios11 高度只有设定height的一半

处理上述bug
This commit is contained in:
mike 2017-11-17 20:32:34 +08:00
parent eeeaead411
commit 228a9bd675
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export default class App extends Component {
style={{
height: this.props.height || 400,
}}
scalesPageToFit={false}
source={require('./tpl.html')}
onMessage={event => this.props.onPress ? this.props.onPress(JSON.parse(event.nativeEvent.data)) : null}
/>