react-native-pdf
Advanced tools
Comparing version 3.0.12 to 3.0.13
{ | ||
"name": "react-native-pdf", | ||
"version": "3.0.12", | ||
"version": "3.0.13", | ||
"description": "A react native PDF view component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -288,4 +288,4 @@ /** | ||
ref={this._getRef} | ||
style={this.props.style} | ||
contentContainerStyle={this.props.horizontal ? {height: this.state.contentContainerSize.height * this.state.scale} : {width: this.state.contentContainerSize.width * this.state.scale}} | ||
style={[styles.container, this.props.style]} | ||
contentContainerStyle={[{justifyContent: 'center',alignItems: 'center'},this.props.horizontal ? {height: this.state.contentContainerSize.height * this.state.scale} : {width: this.state.contentContainerSize.width * this.state.scale}]} | ||
horizontal={this.props.horizontal} | ||
@@ -292,0 +292,0 @@ data={data} |
@@ -36,2 +36,6 @@ # react-native-pdf | ||
### ChangeLog | ||
v3.0.13 | ||
1. fix in iPad layout not center problem | ||
v3.0.12 | ||
@@ -97,68 +101,2 @@ 1. fix source.expiration check | ||
v2.0.7 | ||
1. update android dependent lib AndroidPdfViewer to 2.8.1 | ||
v2.0.6 | ||
1. fix change page number, do not redraw problem | ||
v2.0.5 | ||
1. add code protect for not load the same pdf twice | ||
2. can scroll out of bounds with blank page, after stop, redraw pages | ||
3. cancel not finished download task when componentWillUnmount. | ||
v2.0.4 | ||
1. add .git to .npmignore | ||
v2.0.3 | ||
1. Fix iOS load pdf problem [`#76`](https://github.com/wonday/react-native-pdf/issues/76) | ||
v2.0.2 | ||
1. Fix pdf canvas was clipped problem [`#69`](https://github.com/wonday/react-native-pdf/issues/69) | ||
v2.0.1 | ||
1. Improve iOS version scrolling performance | ||
2. Fix never ending loop rendering problem in example code | ||
v2.0.0 | ||
1. Reimplement iOS version by UIScrollView, improve scrolling performance | ||
2. Fix iOS paging [`#63`](https://github.com/wonday/react-native-pdf/issues/63) | ||
v1.3.5 | ||
1. Improve scolling performance | ||
2. Return pdf local/cache path when callback onLoadComplete [`#57`](https://github.com/wonday/react-native-pdf/issues/57) | ||
v1.3.4 | ||
1. Update iOS project to Xcode9 format. | ||
2. Fix crash problem when load from base64 [`#58`](https://github.com/wonday/react-native-pdf/issues/58) | ||
3. Fix TypeScript definition for onError [`#53`](https://github.com/wonday/react-native-pdf/issues/53) | ||
4. Update sample code in readme | ||
v1.3.3 | ||
1. Improve iOS scrolling performance, fix [`#47`](https://github.com/wonday/react-native-pdf/issues/47) | ||
v1.3.2 | ||
1. Move react-native and react-native-fetch-blob to peerDependencies | ||
v1.3.1 | ||
1. Refactor android source | ||
2. Stop page scrolling when tap screen [`#41`](https://github.com/wonday/react-native-pdf/issues/41) | ||
v1.3.0 | ||
1. Fix drawing problem on Android 4.4 [`#31`](https://github.com/wonday/react-native-pdf/issues/31) | ||
2. Add fitWidth support [`#36`](https://github.com/wonday/react-native-pdf/issues/36) , [`#38`](https://github.com/wonday/react-native-pdf/issues/38) | ||
[[more]](https://github.com/wonday/react-native-pdf/releases) | ||
@@ -165,0 +103,0 @@ |
3031787
205