Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

TextView should not resignFirstResponder automatically in shouldChangeTextInRange #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lings
Copy link

@Lings Lings commented Dec 26, 2013

Hello HansPinckaers:

Firstly, thank you to wrote the GrowingTextView for everyone.

I make a little changes, I think TextView should not resignFirstResponder automatically in shouldChangeTextInRange,some times we want to stop input when detected \n’, but don’t want to dismiss keyboard. if need to dismiss keyboard, the best way is add resignFirstResponder in the delegate’s callback function. What do you think?

Best Wishes!

Lings He

…o stop input when detected \n’, but don’t want to dismiss keyboard. if need to dismiss keyboard, the best way is add resignFirstResponder in the delegate’s callback function.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant