Closed inghamn closed 10 years ago
For whatever reason, I cannot reproduce this problem anymore. The only changes I would not have expected to solve the problem. I really only did some code cleanup.
8f0356fc6a65337b5c6c99a8f8c3806c5b542041
Okay, we were able to reproduce the problem. On an iPhone 4 and an iPhone 3, when filling out the Graffiti report (which includes additional questions).... When you originally load the NewReport view, you can scroll to all the questions. However, after you enter some text in the Description and close the keyboard, you can no longer scroll down. The screen will always snap back up, preventing you from getting to the lower questions.
I suppose iPhone 3 is running iOS 6. What about the iPhone 4? What iOS version is is running?
I didn't notice this issue while I tested it. For that controller, I'm using a TPKeyboardAvoidingTable -https://github.com/michaeltyson/TPKeyboardAvoiding. First thing that comes to mind would be updating to the latest version of that pod with pod update
. But I'm not sure if that fixes it or not. I may also look over this issue later.
The same problem happens with the iPhone 4 running iOS 7. I'll try running pod update and see if the latest version fixes it.
The problem is worse after running pod update to update to the latest version of TPKeyboardAvoiding. Now, when the soft keyboard appears, the text box is scrolled up beyond the top of the screen, so you cannot see what you are typing. Plus, when the keyboard hides, we still have the same problem with not being able to scroll down.
How much work would be involved if we got rid of TPKeyboardAvoiding and went back to writing the keyboard handling code ourselves? The old app had all the keyboard handling code, and it worked reasonably well.
On the iPhone 3, iOS 6, I cannot scroll all the way down when adding a new report.
Using the Graffiti question as the example....
So, the bottom two questions and the report anonymously switch are inaccessible. I can drag them up the screen, but as soon as I let go, the screen snaps back to the question: "Is this area constantly plagued by graffiti?"