Giter Club home page Giter Club logo

Comments (5)

thermogl avatar thermogl commented on August 26, 2024

Here's the stack trace for the event - Googling autoDeleteTimerFired: yields no useful results. Still investigating.

0   TokenFieldExample                   0x00005f86 -[TITokenFieldView textField:shouldChangeCharactersInRange:replacementString:] + 648
1   UIKit                               0x0036b9c3 -[UITextField keyboardInputShouldDelete:] + 235
2   UIKit                               0x004128ca -[UIKeyboardImpl callShouldDelete] + 133
3   UIKit                               0x004103ff -[UIKeyboardImpl deleteFromInput] + 80
4   UIKit                               0x0041c288 -[UIKeyboardImpl autoDeleteTimerFired:] + 474
5   Foundation                          0x00069749 __NSFireTimer + 125
6   CoreFoundation                      0x00dc48c3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
7   CoreFoundation                      0x00dc5e74 __CFRunLoopDoTimer + 1220
8   CoreFoundation                      0x00d222c9 __CFRunLoopRun + 1817
9   CoreFoundation                      0x00d21840 CFRunLoopRunSpecific + 208
10  CoreFoundation                      0x00d21761 CFRunLoopRunInMode + 97
11  GraphicsServices                    0x0173a1c4 GSEventRunModal + 217
12  GraphicsServices                    0x0173a289 GSEventRun + 115
13  UIKit                               0x002e1c93 UIApplicationMain + 1160
14  TokenFieldExample                   0x00002892 main + 104
15  TokenFieldExample                   0x00002821 start + 53

from titokenfield.

thermogl avatar thermogl commented on August 26, 2024

Removing the animations in updateHeight: seems to solve the problem for now.

from titokenfield.

AbelFerreira avatar AbelFerreira commented on August 26, 2024

Hi.
I think just removing the animations in updateHeight didn't work for me.
I also had to remove the fading in animation on layoutTokens method.
After that the delete loop issue disappeared.

Thanks.

from titokenfield.

thermogl avatar thermogl commented on August 26, 2024

The problem is completely random for me - I'm no longer able to recreate it. TBH, I think it's an iOS bug.

from titokenfield.

noami avatar noami commented on August 26, 2024

removing the fading in layoutTokens also worked for me.
Thanks AbelFerreira, great solution.
I guess its some kind of a race condition in the iOS.

from titokenfield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.