Comments (7)
Hi @Noitidart
iOS support added on RN44 here and here. Android support was added on RN50 here
from react-native-autogrow-textinput.
which RN version are you using?
from react-native-autogrow-textinput.
Thanks for looking at this.
I'm using RN 0.52.0.
from react-native-autogrow-textinput.
As i've mentioned in the other issue, auto-grow is now available out of the box in regular RN multiline text-inputs. so _handleNativeEvent is no longer necessary, we're not setting the height ourselves anymore.
The reason we still keep using this component in modern RN versions is because of very specific native fixes that we added, which I don't know if you're even using or plan to use.
I checked the example project and it auto-grows as expected on both Android and iOS, so I don't know why it is not working for you.
Maybe some styles you applied are causing issues? Have you tried running the example project?
from react-native-autogrow-textinput.
Hi Artald,
I've tried already removing all styles but had the same problem. Just moved back to the standard text input.
10x,
EyalS
from react-native-autogrow-textinput.
@artald may you please link us to the note in the react native release section ( https://github.com/facebook/react-native/releases )where it says they autogrow now. I can't find it, i was hoping to look at the related commits to see how they do it.
from react-native-autogrow-textinput.
Thank you sir very much especially for even giving me version numbers, and even linking me to it!!
from react-native-autogrow-textinput.
Related Issues (20)
- undefined is not an object (evaluating '_react.PropTypes.bool') HOT 1
- Double dispatch async to main queue
- please upgrade react version HOT 2
- 引入组件就直接报错了
- Cannot read property 'bool' of undefined HOT 3
- "RCTTextView.h" file not found on react-native 0.54.0 HOT 5
- Possible uppercase bug? HOT 6
- .clear() does not clear TextInput
- Different fontSize even with TextInput and AutoGrowingTextInput set to same size?
- Web implementation HOT 2
- :react-native-autogrow-textinput:verifyReleaseResources FAILED AAPT: error: resource android:attr/colorError not found. HOT 3
- 'React/RCTUIManager.h' file not found HOT 2
- Paste option is not working HOT 2
- Not working on Android, which version to use for RN 0.46.4
- Add a podspec HOT 1
- Not working with React Native 0.62.0 HOT 2
- [IOS] keyboard doesn't scroll up accordingly when used inside a 'formSheet' modal ?
- Expo? HOT 2
- editText.setBlurOnSubmit(false); HOT 19
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-autogrow-textinput.