Giter Site home page Giter Site logo

Comments (6)

lorenbrichter avatar lorenbrichter commented on July 23, 2024

Perhaps it should only be made first responder if done by explicit user interaction (clicking or up/down arrows). Otherwise -selectRowAtIndexPath shouldn't change first responder?

I'm also open to a better make-first-responder-in-the-future mechanism. I'm not crazy about the way it's currently done, but not sure what the alternatives are...

from twui.

k7d avatar k7d commented on July 23, 2024

Yeah, I was thinking in the same direction. I've a potential fix already, will test a bit and push to to my fork in a moment.

from twui.

lorenbrichter avatar lorenbrichter commented on July 23, 2024

I really like that - should happen on keyboard up/down also you think?

from twui.

k7d avatar k7d commented on July 23, 2024

The table or one of it's cells should already be first responder to react to keyboard events. In which case the new cell will become first responder in my patch (lines 612-616) https://github.com/k7d/twui/commit/e704d0ef64df4c8a95dfb85dfd0ff063d1e2e164#L0R612

from twui.

brutella avatar brutella commented on July 23, 2024

Any plans to integrate this into the main project? Really need this!

from twui.

lorenbrichter avatar lorenbrichter commented on July 23, 2024

Does the patch work well with your own project? Been busy – happy to merge if it works for you and you want to bundle it into a pull request.

from twui.

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.