Skip to content

Commit

Permalink
Merge pull request #154 from leeilhyung/patch-2
Browse files Browse the repository at this point in the history
Update index.js
  • Loading branch information
YanYuanFE authored Jun 10, 2021
2 parents 54c602b + 1d18ec7 commit 1178bf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ const SignatureView = forwardRef(({
minWidth = 0.5,
androidHardwareAccelerationDisabled = false,
style = null,
webviewContainerStyle = null,
scrollable = false,
}, ref) => {
const [loading, setLoading] = useState(true);
const webViewRef = useRef();
Expand Down Expand Up @@ -155,6 +157,8 @@ const SignatureView = forwardRef(({
<View style={[styles.webBg, style]}>
<WebView
bounces={false}
style={[webviewContainerStyle]}
scrollEnabled={scrollable}
androidHardwareAccelerationDisabled={androidHardwareAccelerationDisabled}
ref={webViewRef}
useWebKit={true}
Expand Down

0 comments on commit 1178bf5

Please sign in to comment.