GithubHelp home page GithubHelp logo

Comments (7)

artald avatar artald commented on August 18, 2024 1

Hi @Noitidart

iOS support added on RN44 here and here. Android support was added on RN50 here

from react-native-autogrow-textinput.

artald avatar artald commented on August 18, 2024

which RN version are you using?

from react-native-autogrow-textinput.

EyalSi avatar EyalSi commented on August 18, 2024

Thanks for looking at this.
I'm using RN 0.52.0.

from react-native-autogrow-textinput.

artald avatar artald commented on August 18, 2024

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.

EyalSi avatar EyalSi commented on August 18, 2024

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.

Noitidart avatar Noitidart commented on August 18, 2024

@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.

Noitidart avatar Noitidart commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.