Coder Social home page Coder Social logo

Comments (18)

jeremistadler avatar jeremistadler commented on May 21, 2024 4

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.

jeremistadler avatar jeremistadler commented on May 21, 2024 2

@rusfearuth Reopened PR #6

from react-native-auto-grow-textinput.

rusfearuth avatar rusfearuth commented on May 21, 2024 1

@pdavid0 Tnx for issue!

from react-native-auto-grow-textinput.

joshuapinter avatar joshuapinter commented on May 21, 2024 1

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

rusfearuth avatar rusfearuth commented on May 21, 2024 1

PR had been merged to master. You can find fix at v1.2.1.

PS. Tnx for PR.

from react-native-auto-grow-textinput.

joshuapinter avatar joshuapinter commented on May 21, 2024

Same thing here.

Just importing it and using <AutoGrowInputText placeholder='Some text here' />.

screenshot 2017-07-15 14 00 24

from react-native-auto-grow-textinput.

rusfearuth avatar rusfearuth commented on May 21, 2024

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

joshuapinter avatar joshuapinter commented on May 21, 2024

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.

joshuapinter avatar joshuapinter commented on May 21, 2024

@rusfearuth Nope, same problem.

screenshot 2017-07-18 21 50 14

from react-native-auto-grow-textinput.

marlti7 avatar marlti7 commented on May 21, 2024

i have the same problem

from react-native-auto-grow-textinput.

rusfearuth avatar rusfearuth commented on May 21, 2024

@joshuapinter could you share some code?

from react-native-auto-grow-textinput.

rusfearuth avatar rusfearuth commented on May 21, 2024

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.

rusfearuth avatar rusfearuth commented on May 21, 2024

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

joshuapinter avatar joshuapinter commented on May 21, 2024

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

janaka120 avatar janaka120 commented on May 21, 2024

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

chuson1996 avatar chuson1996 commented on May 21, 2024

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.

rusfearuth avatar rusfearuth commented on May 21, 2024

from react-native-auto-grow-textinput.

rusfearuth avatar rusfearuth commented on May 21, 2024

from react-native-auto-grow-textinput.

Related Issues (5)

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.