iou90
32ebcc2a1b
Clean up code styles
4 år sedan
iou90
54a4b7f949
Fix usingScale declaring error
4 år sedan
iou90
7fecddb8d4
Refactor usingScale
4 år sedan
iou90
faf67a9e92
Stop height changing when fullscreenElement exists on Android, to fix: https://github.com/iou90/react-native-autoheight-webview/issues/178
4 år sedan
iou90
ed93b06c76
Scroll enabled with zoomedin issues (#152 )
* Clean up code styles
* Fix https://github.com/iou90/react-native-autoheight-webview/pull/148
* Fix https://github.com/iou90/react-native-autoheight-webview/pull/149
* Upgrade react-native-webview for demo
* Using scaling to fix https://github.com/iou90/react-native-autoheight-webview/pull/149
* Fix scaling, zoomedin undefined issue on Android
* Add usingScale to calculate scale only once per render
* Upgrade react-native-webview to 8.0.4 for demo
4 år sedan
iou90
a661b942d2
Apply viewportContent prop
4 år sedan
iou90
817f498921
Apply zoomDisabled prop for utils
4 år sedan
iou90
56d5f6dc19
enable scroll when zoomed-in (#146 )
* Added example newsletter with side margin on body element
* Remove margin from body and add padding to #rnahw-wrapper
* Add detectZoomChanged for utils
* Add scrollableWhenZoomin prop
* Set up demo with scrollableWhenZoomin
* Add scrollableWhenZoomin prop for Readme
* Add scrollableWhenZoomin definition to index.d.ts
* Pod install
* Change the name of scrollableWhenZoomin prop to scrollEnabledWithZoomedin
Co-authored-by: Onno Schwanen <me@onnoschwanen.com >
4 år sedan
iou90
0a9fc24017
calculate scale inside updateSize function to fix https://github.com/iou90/react-native-autoheight-webview/pull/141
5 år sedan
iou90
10bb38ea0a
using function instead of arrow function for getInjectedSource to fix arrow function not supported problem below android 6.0, https://github.com/iou90/react-native-autoheight-webview/issues/139
5 år sedan
iou90
8ce8ce6ec0
remove makeScalePageToFit script when scalesPageToFit prop was true; apply scale on size when scalesPageToFit prop was true to fix https://github.com/iou90/react-native-autoheight-webview/pull/133
5 år sedan
iou90
35e3f37c93
Clean up code styles
5 år sedan
iou90
6a2defdf53
Try to fix height not changed in some cases issue https://github.com/iou90/react-native-autoheight-webview/pull/133
5 år sedan
Vladimir Panov
6730392446
Added code scoping fix. General codestyle fixes and optimizations
5 år sedan
Vladimir Panov
6b7eacaa51
Added additional height check with delay to fix issues with third party embeds
5 år sedan
iou90kant
8f04163451
fix baseUrl not assigned to source
5 år sedan
iou90kant
50211735af
remove baseUrl prop
5 år sedan
iou90kant
978c33b8bc
use React.memo instead of useMemo
5 år sedan
iou90
8505010fce
fix Converting circular structure to JSON issue on some android devices
5 år sedan
iou90
7cfb03f05c
fix react hooks using
5 år sedan
Pavel T
23417cbed8
fixed passing props
5 år sedan
Pavel T
b6b1ba5c5b
added zoomable prop for ios
5 år sedan
iou90
1481190012
rewrite with Hooks
5 år sedan
iou90
506b3e069a
rewrite with using react-native-webview
5 år sedan
iou90
5e8d98fade
refactor index.ios.js with using postMessage
5 år sedan
iou90
1f2a472428
remove getRenderSize & remove getIframeBaseScript parameter from getScript for common.js
5 år sedan
iou90
d172f58637
add baseUrl prop
6 år sedan
iou90
4e76126447
fix appendFilesToHead issue for common
6 år sedan
iou90
62acbcedce
fix the iframe issue & clean up code style
6 år sedan
iou90
b5d2ee6ab1
add getRenderSize to common; add onNavigationStateChange to index.ios/index.android
6 år sedan
iou90
d58b03d7ae
rewirte index.android for dynamic auto height & better animation
6 år sedan
iou90
5dac43b2c4
improved updating size on ios
6 år sedan
iou90
f022a5e10a
WIP
6 år sedan
iou90
819b4c7275
WIP
6 år sedan
iou90
38ef16302b
add memoize; apply memoize for common & index.ios; add onMessage to index.ios
6 år sedan
iou90
d83aa2b404
improve componentWillReceiveProps for index.ios.js
6 år sedan
iou90
10c1516970
add a feature when changing the customStyle or customScript, auto changing the height of webview on iOS
6 år sedan
iou90
8d3ce7adbc
clean up code style for common.js
6 år sedan
iou90
b14666eae1
update common.js to support auto width
6 år sedan
ShaMan123
c33fa90a22
Update common.js
Updated the following functions:
appendStylesToHead
getScript
Added:
onWidthUpdated
onHeightWidthUpdated
6 år sedan
iou90
1ee501e889
change android package name to com.iou90.autoheightwebview; update index.ios.js to improve capacity; update rn version of demo to 0.54.3; bump version to 0.6.0
6 år sedan
iou90
78e5a9888f
clean up code style for index.android, index.ios
6 år sedan
iou90
971a3ea804
add common; clean code style for index.ios
6 år sedan