Git Product home page Git Product logo

Comments (7)

nyeu avatar nyeu commented on August 18, 2024

The way to "solve" the issue is adding [tableView reloadData] at the end of didSelectRowAtIndexPath.

from kilabel.

Krelborn avatar Krelborn commented on August 18, 2024

That doesn't sound right. You really don't want to be reloading the table data after making a selection.

Have you looked at the demo project to see how to use it in a table. I can't imagine why using KILabel would affect selection of table cells.

from kilabel.

nyeu avatar nyeu commented on August 18, 2024

Yes, I know it doesn't sound right but it was the only way to get KILabel working. I looked at the demo project and all the examples available and all looks right. The thing is, if it was my mistake, why with the reloadData worked?
It's a weird thing.

from kilabel.

vgolovnev avatar vgolovnev commented on August 18, 2024

I have exactly the same problem. It seems like a bug.

from kilabel.

dayj avatar dayj commented on August 18, 2024

I ran into this same issue. It has to do with the way touchesBegan/Moved/Ended/Cancelled have been implemented. I was able to resolve the issue by using a UITapGestureRecognizer in lieu of overriding the touch event methods.

from kilabel.

fealonelei avatar fealonelei commented on August 18, 2024

@nyeu @vgolovnev @dayj
in ** - (void)touchesEnded:(NSSet )touches withEvent:(UIEvent *)event * method , line 705, perhaps,
just comment out [super touchesBegan:touches withEvent:event]; or remove it.
It will fix the problem and didSelectRowAtIndexPath works happy again.

from kilabel.

LinkRober avatar LinkRober commented on August 18, 2024

Thanks @dayj

from kilabel.

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.