alcat2008 / react-native-auto-expanding-textinput Goto Github PK
View Code? Open in Web Editor NEWA TextInput with auto expanding function for your React Native app.
License: MIT License
A TextInput with auto expanding function for your React Native app.
License: MIT License
I've have something like the following:
<AutoExpandingTextInput
ref="textMessageInput"
value={this.state.currentMessage}
...
If I programatically change the state this.setState({currentMessage: 'foo'})
the AutoExpandingTextInput doesn't respond accordingly. It only seem to resize when I type.
I'm getting this issue.
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: Promise
Paths: B:\AutoHugas\node_modules\react-native-auto-expanding-textinput\node_modules\react-native\Libraries\Promise.js collides with B:\AutoHugas\node_modules\react-native\Libraries\Promise.js
This error is caused by a @providesModule declaration with the same name accross two different files.
Error: @providesModule naming collision:
Duplicate module name: Promise
Paths: B:\AutoHugas\node_modules\react-native-auto-expanding-textinput\node_modules\react-native\Libraries\Promise.js collides with B:\AutoHugas\node_modules\react-native\Libraries\Promise.js
This error is caused by a @providesModule declaration with the same name accross two different files.
at HasteMap._updateHasteMap (B:\AutoHugas\node_modules\react-native\node_modules\node-haste\lib\DependencyGraph\HasteMap.js:160:15)
at B:\AutoHugas\node_modules\react-native\node_modules\node-haste\lib\DependencyGraph\HasteMap.js:125:25
at run (B:\AutoHugas\node_modules\react-native\node_modules\babel-polyfill\node_modules\core-js\modules\es6.promise.js:89:22)
at B:\AutoHugas\node_modules\react-native\node_modules\babel-polyfill\node_modules\core-js\modules\es6.promise.js:102:28
at flush (B:\AutoHugas\node_modules\react-native\node_modules\babel-polyfill\node_modules\core-js\modules_microtask.js:18:9)
at doNTCallback0 (node.js:417:9)
at process._tickCallback (node.js:346:13)
Thanks for writing this component. I had to run npm install react-addons-pure-render-mixin --save
to get this to work. Maybe this should be added to the instructions.
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.