eneskarpuz / react-native-drag-text-editor Goto Github PK
View Code? Open in Web Editor NEW๐ 60FPS dynamic text editor powered with Reanimated
Home Page: https://eneskarpuz.github.io/react-native-drag-text-editor
License: MIT License
๐ 60FPS dynamic text editor powered with Reanimated
Home Page: https://eneskarpuz.github.io/react-native-drag-text-editor
License: MIT License
Describe the bug
I have used this library but copy paste not working on android
Library | Version |
---|---|
react-native-drag-text-editor | 0.0.7 |
react-native | ~0.63.4 |
Hi,
I'm getting an issue on this when trying to change font size, font family and color by set state.
Can you update these features.
Thank you.
Is your feature request related to a problem? Please describe.
It would be useful to detect changes in the text content of the box.
Describe the solution you'd like
I propose adding an onChangeText prop that would receive the text contents of the control when those contents change
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
It would be accessed like this:
<DragTextEditor
...
onChangeText={(text: string) => console.log(text)}
/>
It would require the following code to be added to DragTextEditor.js
:
componentDidUpdate(prevProps, prevState){
if(this.state.text !== prevState.text){
if(this.props.onChangeText){
this.props.onChangeText(this.state.text);
}
}
}
Additional context
I can submit a PR if this works for you @eneskarpuz
This package looks awesome!! Thanks for this.
Are there plans to add text rotation soon? This would be a necessary UI/UX before incorporating in a project of mine at least.
The Library is not working with reanimated3 library
A clear and concise description of what the bug is.
Library | Version |
---|---|
react-native-drag-text-editor | 1.0.5 |
react-native | 0.72.4 |
Steps to reproduce the behavior:
Describe what you expected to happen:
Add any other context about the problem here.
Hi Enes
Thanks for this package. React native developers need something like that.
I have question for you; can we use use this library in expo projects?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.