Git Product home page Git Product logo

Comments (3)

hanspinckaers avatar hanspinckaers commented on August 27, 2024

Thanks, this means that the delegate method for height changed doesn't get called when using cut/copy/paste.

I don't have much time, maybe you can find a solution? Just listen to cut/copy/paste actions and call the delegate.

Hans

On Thursday 12 April 2012 at 01:04, mofolo wrote:

There seems to be a problem when you cut all text from the GrowingTextView or paste large amounts of text into an empty GrowingTextView. The images can explain it a little better:

When Pasting into empty TextView
Pasting Image
As you can see, the UIBarButtonItem gets affected in a weird way.

When Cutting or Clearing the field to empty
Cutting
Same deal here, the UIBarButtonItem gets pushed below the Toolbar's view.

**When you enter text normally, paste into a non empty textView, or if not all characters are cut/cleared
How it should be


Reply to this email directly or view it on GitHub:
#14

from growingtextview.

mofolo avatar mofolo commented on August 27, 2024

I though the same too, but really, the delegate is returning the correct height when copying and pasting.

I ended up making my own UIButton and Putting it into the Toolbar, that solved the problem for me, but it still doesn't work with UIBarButtons.

from growingtextview.

hanspinckaers avatar hanspinckaers commented on August 27, 2024

It's weird, but not a bug of GrowingTextView, so I'm closing this issue. Thanks for your report.

from growingtextview.

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.