Comments (18)
There is a bug in this package but the author did not accept my PR so I created a scoped package with a few fixes: @jeremistadler/react-native-auto-grow-textinput
from react-native-auto-grow-textinput.
@rusfearuth Reopened PR #6
from react-native-auto-grow-textinput.
@pdavid0 Tnx for issue!
from react-native-auto-grow-textinput.
@rusfearuth Not much code to share. It's about as basic as it gets.
import { AutoGrowInputText } from 'react-native-auto-grow-textinput';
// In my render#return()
<AutoGrowInputText />
Versions
"react-native-auto-grow-textinput": "1.1.2"
"react-native": "0.42.3"
from react-native-auto-grow-textinput.
PR had been merged to master. You can find fix at v1.2.1.
PS. Tnx for PR.
from react-native-auto-grow-textinput.
Same thing here.
Just importing it and using <AutoGrowInputText placeholder='Some text here' />
.
from react-native-auto-grow-textinput.
@joshuapinter Could you show part of code?
How did you import library?
if you use import AutoGrowTextInput from 'react-native-auto-grow-textinput';
, it won't work.
from react-native-auto-grow-textinput.
Gotcha! Because it's not the default, you have to put curly braces around it, like:
import {AutoGrowTextInput} from 'react-native-auto-grow-textinput';
I'll try that right now and report back.
from react-native-auto-grow-textinput.
@rusfearuth Nope, same problem.
from react-native-auto-grow-textinput.
i have the same problem
from react-native-auto-grow-textinput.
@joshuapinter could you share some code?
from react-native-auto-grow-textinput.
Guys, Could you write RN versions? I've checked 1.1.2 on RN 0.43.x. It's work fine.
from react-native-auto-grow-textinput.
@joshuapinter Hm.. It's really strange. I can't repeat your case. Do you use flow
for checking your code?
from react-native-auto-grow-textinput.
@rusfearuth No, but it's isolated to just including <AutoGrowInputText />
. I know how difficult it is dealing with issues that you can't reproduce so when I find more time I'll dig in deeper and try and find the root cause myself.
Let's leave this Issue open for now as a reminder, though.
from react-native-auto-grow-textinput.
@rusfearuth, I got the same problem @joshuapinter had.
react-native-auto-grow-textinput: 1.1.2
RN 0.38
OS: Android 7.0
Device: samsung A5
from react-native-auto-grow-textinput.
Some here, try both import AutoGrowInputText from 'react-native-auto-grow-textinput';
and import {AutoGrowInputText} from 'react-native-auto-grow-textinput';
but none works
from react-native-auto-grow-textinput.
from react-native-auto-grow-textinput.
from react-native-auto-grow-textinput.
Related Issues (5)
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-auto-grow-textinput.