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

TextView should not resignFirstResponder automatically in shouldChangeTextInRange#84

Open
yuhaospark wants to merge 1 commit into
hanspinckaers:masterfrom
yuhaospark:master
Open

TextView should not resignFirstResponder automatically in shouldChangeTextInRange#84
yuhaospark wants to merge 1 commit into
hanspinckaers:masterfrom
yuhaospark:master

Conversation

@yuhaospark
Copy link
Copy Markdown

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