Skip to content

Commit 405e9f7

Browse files
committed
Fix echarts overflow on Android
1 parent 9ee6a04 commit 405e9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Echarts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class App extends Component {
2121
height: this.props.height || 400,
2222
backgroundColor: this.props.backgroundColor || 'transparent'
2323
}}
24-
scalesPageToFit={false}
24+
scalesPageToFit={true}
2525
source={require('./tpl.html')}
2626
onMessage={event => this.props.onPress ? this.props.onPress(JSON.parse(event.nativeEvent.data)) : null}
2727
/>

0 commit comments

Comments
 (0)