Comments (15)
Currently does not support landscape screen, will be considered compatible in the future
from react-native-signature-canvas.
I can sign in landscape n portrait, but when I change from landscape to portrait or visa versa, due to dimension change the signature is cleared.
from react-native-signature-canvas.
Can you provide a working code example?
from react-native-signature-canvas.
I also encountered a similar problem. When the keyboard of the page popped up, the content of the signed version was cleared. How can this be solved?
from react-native-signature-canvas.
expo version?react-native-signature-canvas version? code example?
from react-native-signature-canvas.
I did not use Expo to create a project, I used a project created by yarn
"react-native-signature-canvas": "^1.9.0"
<Signature
onOK={this.handleSignature}
onEmpty={this.handleEmpty}
descriptionText=""
clearText="Clear"
confirmText="Save"
webStyle={style}
style={{ marginTop: 10 }}
/>
from react-native-signature-canvas.
I did not use Expo to create a project, I used a project created by yarn
"react-native-signature-canvas": "^1.9.0"
<Signature
onOK={this.handleSignature}
onEmpty={this.handleEmpty}
descriptionText=""
clearText="Clear"
confirmText="Save"
webStyle={style}
style={{ marginTop: 10 }}
/>
Are you use react-native-cli init project?
from react-native-signature-canvas.
Yes, how to solve this problem
from react-native-signature-canvas.
How to reproduce this problem?sign page has not keyboard. you sign page has Input?
from react-native-signature-canvas.
<TextInput
ref={(view)=>this.inputText = view}
editable={this.state.isEdit}
style={styles.inupt}
onChangeText={(inputData) => {
// this.setState({ signName: inputData })
this.inputText.setNativeProps({
signName: inputData
});
}} >{this.state.signName}
<Signature
onOK={this.handleSignature}
onEmpty={this.handleEmpty}
descriptionText=""
clearText="Clear"
confirmText="Save"
webStyle={style}
style={{ marginTop: 10 }}
/>
I added an input box component above the signed component
from react-native-signature-canvas.
"react-native-signature-canvas": "^2.2.0" has fixed this problem.
from react-native-signature-canvas.
Thank you very much for your modification.
But there is still a small problem, why does the signature board tremble when the keyboard pops up or retracts?
from react-native-signature-canvas.
Signature is a Canvas of webview, when the keyboard pops up, window has been resize, canvas size has been change.
from react-native-signature-canvas.
I can sign in landscape n portrait, but when I change from landscape to portrait or visa versa, due to dimension change the signature is cleared.
from react-native-signature-canvas.
The signature disappears on the change of orientation.
Able to fix this issue? I am using react-native-signature-canvas: 4.5.0.
from react-native-signature-canvas.
Related Issues (20)
- No ability to disable a signature pad HOT 5
- Webview Dependency conflict with Expo 47 HOT 2
- Invariant Violation: requireNativeComponent: "RNCWebView" was not found in the UIManager when build APK with expo sdk 46 HOT 2
- Signature pad not taking the full height and width HOT 4
- [Android] App crashes when scroll the page with several signatures HOT 3
- Upload signature canvas from base64 image with Form Data HOT 2
- can't make background transparent it still has a white background HOT 4
- Magnifying bubble on iOS HOT 2
- how can i change the color of the whole signature and not each stroke via penColor HOT 1
- dataURL background image disappears when keyboard opens
- react-native-webview dependency issue HOT 1
- When i erase the drawn text dataURL also clearing. HOT 11
- Error: Unable to resolve module react-native-signature-canvas HOT 1
- How to use Text as a Overlay HOT 1
- Not able to make vertical lines or full signature but horizontal lines are working fine HOT 2
- getting white screen when taking screenshot HOT 4
- Update Peer Dependency with Webview HOT 2
- I cannot see what i'm drawing on android HOT 4
- [Feature] Forward onLoadEnd property up HOT 5
- Only Dots were shown in when drawing signature on Android HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-signature-canvas.