-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TokenFieldView not scroll properly #8
Comments
As far as I can see this has to do with the UILongPressRecognizer. Since the minimum press duration is 0 every touch triggers the according event. If you set the minimum press duration to 0.3 in line 798 it should work again. 798: [longPressRecognizer setMinimumPressDuration:0.3]; |
The TIToken is now a UIControl, so it does its own touch handling. Unfortunately, this means that you can't even scroll by touching a token. Trying to work out a solution now and why you can't scroll when touching a UITextField. |
By setting delaysContentTouches to YES you can fix this issue. It's in the latest commit. |
hi tom, Sent from my iPod On 25-Mar-2012, at 7:27 PM, Tom Irving
|
Can you elaborate? Which parts of the body would you like to see? |
like the mail composer's body can display images as attachments and Sent from my iPod On 25-Mar-2012, at 7:35 PM, Tom Irving
|
You'll have to do that yourself, I'm afraid. The TITokenFieldView isn't about recreating the whole mail composer, just the tokenizing field. |
I have tried many times but still no luck. Anyways thanks for creating Sent from my iPod On 25-Mar-2012, at 7:41 PM, Tom Irving
|
To reproduce. Enter email address until the token field goes behind the keyboard. Now if you try to scroll you will get trouble scrolling it. But if you scroll by holding a token then you can scroll. But it should behave like apple's default mail composer.
The text was updated successfully, but these errors were encountered: