Coder Social home page Coder Social logo

Comments (8)

artald avatar artald commented on July 18, 2024 1

Actually, the solution of letting the input grow indefinitely is a common solution and depending on your use-case, this is probably the best solution UX-wise.

Regarding the scrolling, as far as I know this is an issue with RN and not related to this package which only utilizes the available callbacks from RN TextInput. That said, I recently added a custom native solution that will auto scroll to the text input caret in case it is covered by the keyboard (useful if you have a form-like kind of screen that has an auto-growing field). Not sure if this will help your case but you can try it by linking the AutoGrowTextInput ios project (only available on iOS at the moment).

from react-native-autogrow-textinput.

antonioturdo avatar antonioturdo commented on July 18, 2024

I'm afraid it's a TextInput limit.

from react-native-autogrow-textinput.

janaka120 avatar janaka120 commented on July 18, 2024

I think that part was working in TextInput.

from react-native-autogrow-textinput.

antonioturdo avatar antonioturdo commented on July 18, 2024

It does not work for me... ah, I am using react-native 0.47

from react-native-autogrow-textinput.

janaka120 avatar janaka120 commented on July 18, 2024

sorry about that. I am using RN-0.38

from react-native-autogrow-textinput.

artald avatar artald commented on July 18, 2024

@janaka120 you're using the maxHeight prop which sets a limit for the growing. You can either increase it or remove it completely.

from react-native-autogrow-textinput.

antonioturdo avatar antonioturdo commented on July 18, 2024

I think that is not a solution. It should be possibile to limit the height of the component, and still see text you are typing.

from react-native-autogrow-textinput.

antonioturdo avatar antonioturdo commented on July 18, 2024

I agree this is a RN issue. I was not criticizing this package.

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.