TPKeyboardAvoiding
TPKeyboardAvoiding copied to clipboard
Keyboard won't resign
I'm having an issue where I have 2 detail views and the keyboard in the "main" detail view will resign when you click outside the text view area. In the "additional" detail view, when you click outside the text view, nothing happens. I created another app to demonstrate this, but can't replicate it exactly; however, while it won't only work on one, it doesn't work on either (the key board won't resign on either of the views).
The app is basic. Just launch it. Press the + button to add an item to the table view, the click on that item to be taken into the detail view. When you click on the text view box, the scrolling feature works, but when you click outside the box, it does nothing.
You can enter the second view by pushing the 'button' button at the top of the table view.
Please feel free to reach out to me with any questions: [email protected]
Here is a link to the demo app: https://github.com/BlaineOmega/TPKeyboardBug
Hi Blaine - Hmm, that sample project doesn't even contain TPKeyboardAvoiding. Am I missing something?
On 23 May 2013, at 14:58, BlaineOmega [email protected] wrote:
I'm having an issue where I have 2 detail views and the keyboard in the "main" detail view will resign when you click outside the text view area. In the "additional" detail view, when you click outside the text view, nothing happens. I created another app to demonstrate this, but can't replicate it exactly; however, while it won't only work on one, it doesn't work on either (the key board won't resign on either of the views).
The app is basic. Just launch it. Press the + button to add an item to the table view, the click on that item to be taken into the detail view. When you click on the text view box, the scrolling feature works, but when you click outside the box, it does nothing.
You can enter the second view by pushing the 'button' button at the top of the table view.
Please feel free to reach out to me with any questions: [email protected]
Here is a link to the demo app: https://github.com/BlaineOmega/TPKeyboardBug
— Reply to this email directly or view it on GitHub.
Sorry, I guess when I added them to the project, I guess I just added them via reference. I'll update.
Date: Wed, 22 May 2013 22:08:33 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [TPKeyboardAvoiding] Keyboard won't resign (#31)
Hi Blaine - Hmm, that sample project doesn't even contain TPKeyboardAvoiding. Am I missing something?
On 23 May 2013, at 14:58, BlaineOmega [email protected] wrote:
I'm having an issue where I have 2 detail views and the keyboard in the "main" detail view will resign when you click outside the text view area. In the "additional" detail view, when you click outside the text view, nothing happens. I created another app to demonstrate this, but can't replicate it exactly; however, while it won't only work on one, it doesn't work on either (the key board won't resign on either of the views).
The app is basic. Just launch it. Press the + button to add an item to the table view, the click on that item to be taken into the detail view. When you click on the text view box, the scrolling feature works, but when you click outside the box, it does nothing.
You can enter the second view by pushing the 'button' button at the top of the table view.
Please feel free to reach out to me with any questions: [email protected]
Here is a link to the demo app: https://github.com/BlaineOmega/TPKeyboardBug
—
Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Updated.
Date: Wed, 22 May 2013 22:08:33 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [TPKeyboardAvoiding] Keyboard won't resign (#31)
Hi Blaine - Hmm, that sample project doesn't even contain TPKeyboardAvoiding. Am I missing something?
On 23 May 2013, at 14:58, BlaineOmega [email protected] wrote:
I'm having an issue where I have 2 detail views and the keyboard in the "main" detail view will resign when you click outside the text view area. In the "additional" detail view, when you click outside the text view, nothing happens. I created another app to demonstrate this, but can't replicate it exactly; however, while it won't only work on one, it doesn't work on either (the key board won't resign on either of the views).
The app is basic. Just launch it. Press the + button to add an item to the table view, the click on that item to be taken into the detail view. When you click on the text view box, the scrolling feature works, but when you click outside the box, it does nothing.
You can enter the second view by pushing the 'button' button at the top of the table view.
Please feel free to reach out to me with any questions: [email protected]
Here is a link to the demo app: https://github.com/BlaineOmega/TPKeyboardBug
—
Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
I just noticed something else...
In my app, when I click on the label that's above the textview, it works. It will also work if I click above the textview, but not if I click below it or around it...
Weird.
Date: Wed, 22 May 2013 22:08:33 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [TPKeyboardAvoiding] Keyboard won't resign (#31)
Hi Blaine - Hmm, that sample project doesn't even contain TPKeyboardAvoiding. Am I missing something?
On 23 May 2013, at 14:58, BlaineOmega [email protected] wrote:
I'm having an issue where I have 2 detail views and the keyboard in the "main" detail view will resign when you click outside the text view area. In the "additional" detail view, when you click outside the text view, nothing happens. I created another app to demonstrate this, but can't replicate it exactly; however, while it won't only work on one, it doesn't work on either (the key board won't resign on either of the views).
The app is basic. Just launch it. Press the + button to add an item to the table view, the click on that item to be taken into the detail view. When you click on the text view box, the scrolling feature works, but when you click outside the box, it does nothing.
You can enter the second view by pushing the 'button' button at the top of the table view.
Please feel free to reach out to me with any questions: [email protected]
Here is a link to the demo app: https://github.com/BlaineOmega/TPKeyboardBug
—
Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
I've had a play with this - looks like the problem is the scroll view doesn't get touch events if it's the root view. No idea why, looks like some quirk of iOS, but if I put it within another view, and make that view the root, then it works.
On 23 May 2013, at 15:35, BlaineOmega [email protected] wrote:
I just noticed something else...
In my app, when I click on the label that's above the textview, it works. It will also work if I click above the textview, but not if I click below it or around it...
Weird.
Date: Wed, 22 May 2013 22:08:33 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [TPKeyboardAvoiding] Keyboard won't resign (#31)
Hi Blaine - Hmm, that sample project doesn't even contain TPKeyboardAvoiding. Am I missing something?
On 23 May 2013, at 14:58, BlaineOmega [email protected] wrote:
I'm having an issue where I have 2 detail views and the keyboard in the "main" detail view will resign when you click outside the text view area. In the "additional" detail view, when you click outside the text view, nothing happens. I created another app to demonstrate this, but can't replicate it exactly; however, while it won't only work on one, it doesn't work on either (the key board won't resign on either of the views).
The app is basic. Just launch it. Press the + button to add an item to the table view, the click on that item to be taken into the detail view. When you click on the text view box, the scrolling feature works, but when you click outside the box, it does nothing.
You can enter the second view by pushing the 'button' button at the top of the table view.
Please feel free to reach out to me with any questions: [email protected]
Here is a link to the demo app: https://github.com/BlaineOmega/TPKeyboardBug
—
Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.
Okay, so I need to add another view, make that the root view, then add the scrollview on top of it, then it should work?
In theory, yep.
On 23 May 2013, at 16:36, BlaineOmega [email protected] wrote:
Okay, so I need to add another view, make that the root view, then add the scrollview on top of it, then it should work?
— Reply to this email directly or view it on GitHub.
Cool man.
Thanks for looking at this so quickly. Really appreciate it!
Again, it's an awesome set of code and really handy. Thanks again!
Blaine
Date: Wed, 22 May 2013 23:38:31 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [TPKeyboardAvoiding] Keyboard won't resign (#31)
In theory, yep.
On 23 May 2013, at 16:36, BlaineOmega [email protected] wrote:
Okay, so I need to add another view, make that the root view, then add the scrollview on top of it, then it should work?
—
Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
No problem!
On 23 May 2013, at 16:41, BlaineOmega [email protected] wrote:
Cool man.
Thanks for looking at this so quickly. Really appreciate it!
Again, it's an awesome set of code and really handy. Thanks again!
Blaine
Date: Wed, 22 May 2013 23:38:31 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [TPKeyboardAvoiding] Keyboard won't resign (#31)
In theory, yep.
On 23 May 2013, at 16:36, BlaineOmega [email protected] wrote:
Okay, so I need to add another view, make that the root view, then add the scrollview on top of it, then it should work?
—
Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.
So, it doesn't seem like this will work for UITableViewController's since the TableView has to be the root view, correct?
Any other potential fixes?
This happens for me too